|
On 24 May 02 15:55:55 GMT, ya.huang@PFIZER.COM (Huang, Ya) wrote:
>Sam,
>
>I seriously doubt the feasibility to convert any bitmap
>image files to CGM file format. From CGM to bitmap image format, like
>BMP,GIF,JPEG etc. are relatively easy, and you can probably
>find some shareware from Internet. The reason is that
>CGM format is basically not an image format, it is a graphic,
>a graphic format tells you how to draw a graph, it bares the
>information such as x,y coordinates etc., eventually those x,y
>coordinates need to be translated by some application to pixels (bitmap)
>to render the screen.
>
>Now for your question, do you want to put the image in which screen?
>SAS graph window? How about (for V8) the browser window?
>If the browser is acceptable to you, you may try ODS which
>is definitely capable of bring in bitmap image. Other option would be
>SAS AF, which also can incorporate bitmap image in AF frame.
>
>Or if you really just want to bring in a bitmap image file and
>'draw' it on SAS graph window, lets say a GIF file,
>you might need to decode the GIF file and get all those x,y coordinates,
>and convert them into an annotation data set, then use proc gslide.
>You can find specification of GIF format, you can also find papers
>for jpeg decoding algorithm:
>
>http://www.rasip.fer.hr/research/compress/algorithms/adv/jpeg/
>
>http://www.w3.org/Graphics/GIF/spec-gif89a.txt
Thanks, I will check it out.
Yes I want to be able to import images (graphics really) and replay
them in Greplay with a combination of Gslide and SAS Graph output. I
then want to sent this to print using the PS300 postscript output
driver.
Is there a CGM drawing program (Windows) which is compatible with SAS
Gimport ?
Sam
|