s-news
[Top] [All Lists]

[S] binary _to_jpg

To: s-news@wubios.wustl.edu
Subject: [S] binary _to_jpg
From: srosenfeld@nesdis.noaa.gov
Date: Thu, 23 Jul 98 10:29:23 -0500
Sender: owner-s-news@wubios.wustl.edu
Dear S'ersPLUS!:

Many thanks to Thomas Schmugge, Prof. Brian Ripley and especially to Bob Henery 
for fast response. Now I inderstand that the obstacle for transition from 
binary 
to JPG is that S_plus does not handle one-bite data (so far, of course!)

Therefore, I want to slightly simplify the task. I transform binary matrix  
into 
the 3-digits integer matrix outside S-plus (using, say, a FORTRAN module 
launched from S-PLUS). How to proceed from this point?
What I need is an entirely automatic procedure without any keyboard 
interventions (INPUT: a million of binary files, OUTPUT: a million of JPG(BMP?) 
files)

I work with S+3.3/4.5 on Pentium2/400MGz/128RAM under W95/98


original message:
> I have a M*N matrix with one-byte elements.
> I need to write a routine for transforming this matrix into 
>jpg(/bmp/gif)image.
> (not just to display the image but to create an equivalent representation as 
> a 
> graphical file)
> Is it possible to implement such a procedure using the S-PLUS ONLY?
> If not then what would be the best way to go?



Simon Rosenfeld
NOAA Science Center,
NESDIS/Satellite Research Lab
Camp Springs, MD
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>