dermoudy@sol.surv.utas.oz (Julian Dermoudy) (09/17/90)
G'day. I need some help translating from Sun RASTER format to GIF format for downloading to PCs and viewing. I'm sure that this has probably been advertised many a time in the past so I apologise for bringing it up again, but as is usual people only take notice of what they need at the time... Anyway, can somebody point me to a Raster -> GIF converter? How does it handle the difference in resolution, please correct me if I'm wrong, but the Sun is 1024 x 1024 (SPARC 4/60) whereas VGA on the PC is 640 x 480. Does it take the 640 x 480 pixels from the centre of the screen, the top left, or does it appoximate the whole Sun screen into a GIF image? I hope there is a translator to answer my request. AdvThanksance. -Julian. P.S. Please reply to dermoudy@sol.surv.utas.edu.au *not* sol.surv.utas.oz. Thanks. -- Julian Dermoudy AARNet: dermoudy@sol.surv.utas.edu.au School of Surveying, 'Phone: +61 02 202108 University of Tasmania, Fax : +61 02 240282 GPO Box 252C Hobart, Tasmania, AUSTRALIA, 7001.
falk@peregrine.Sun.COM (Ed Falk) (09/17/90)
In article <dermoudy.653551564@sol> dermoudy@sol.surv.utas.oz (Julian Dermoudy) writes: >G'day. > I need some help translating from Sun RASTER format to GIF format for >downloading to PCs and viewing. > I'm sure that this has probably been advertised many a time in the past >so I apologise for bringing it up again, but as is usual people only take >notice of what they need at the time... > > Anyway, can somebody point me to a Raster -> GIF converter? > > How does it handle the difference in resolution, please correct me if I'm >wrong, but the Sun is 1024 x 1024 (SPARC 4/60) whereas VGA on the PC is >640 x 480. Does it take the 640 x 480 pixels from the centre of the screen, >the top left, or does it appoximate the whole Sun screen into a GIF image? > > I hope there is a translator to answer my request. The FBM and PBM packages both translate RASTER <=> GIF. Sun screens are usually 1152x900. GIF and RASTER files are not bound to any particular framebuffer as far as resolution goes. There's no rule that says they have to be the same resolution as the framebuffer they're normally displayed on. They can be any resolution they want, even if that's bigger than your framebuffer. If a GIF or RASTER file is a different size from the screen you're displaying it on (or the window you're displaying it in), it's up to the display program to decide what to do about it. For RASTER files, the screenload program centers the image if it's smaller than the framebuffer, and justifies it to the upper left corner if it's bigger. My rastershow program always justifies, but lets you scroll around if the image is bigger than the window. That said, the answer to your question is simply that the translators simply leave the resolution alone. A 640x480 GIF becomes a 640x480 rasterfile. -ed falk, sun microsystems sun!falk, falk@sun.com card-carrying ACLU member.
spencer@eecs.umich.edu (Spencer W. Thomas) (09/19/90)
The Utah Raster Toolkit can do this. It also includes tools for cropping and resizing images. -- =Spencer W. Thomas EECS Dept, U of Michigan, Ann Arbor, MI 48109 spencer@eecs.umich.edu 313-936-2616 (8-6 E[SD]T M-F)