[comp.sys.amiga] IFF --> SUN

rodneyc@elecvax.eecs.unsw.oz (Rodney Campbell) (05/06/88)

I hacked Leo's iff program to convert IFF pictures to the Sun.
They don't come out too bad, the Sun can display 8 bit-planes
at a resolution of about 1006 x 960 (or something).

I got colour cycling going, however, to get the 1/60th of a second
waits for screen refresh, you have to busy wait. utime(1) only
sleeps for a minimum of about 4/60ths of a second. Anyway, speeded
up it comes out Ok.

I'm not receiving comp.sys.amiga yet, if I still am not in a week or so
I'll post the source from here.

The earthrise looks great as a (rasfilter8to1 -d) backdrop in Suntools, now
all I need is an Xwindows version, or maybe NeWs....

Steven Sweeting
munnari somewhere in Australia

elecvax.oz

trudel@topaz.rutgers.edu (Jonathan D.) (05/25/88)

Our news has been semi-sporadic recently, and I haven't seen the
IFF-Sun translator that you mentioned.  Could you mail the sources to me?
Thanks!

						Jon

glee@cognos.uucp (Godfrey Lee) (06/02/88)

In article <May.24.15.07.18.1988.28953@topaz.rutgers.edu> trudel@topaz.rutgers.edu (Jonathan D.) writes:
>Our news has been semi-sporadic recently, and I haven't seen the
>IFF-Sun translator that you mentioned.  Could you mail the sources to me?
>Thanks!
>
>						Jon

I replied to the last requestor by e-mail, but I guess I will tell the net.

I have a program that will convert from IFF -> SUN. It is based on the program
"claz" which converted from IFF -> Postscript.

I am not willing to post it yet, the reason being that it requires a lot more
work to make it into production quality. I am willing to send it via e-mail
to anyone who is interested, especially to someone who is willing to put in
some work. I am also willing to post it as is if there is a strong demand.

Currently, the program can convert any IFF/ILBM file to Sun raster file. It
will either create a Sun color raster file (that's easy), or it will convert
to a monochrome Sun raster file. Variants of the same program will create
grey scale dittering using one color pixel to 4 monochrome pixel, or to 6
monochrome pixel. The result is remarkably good.

There is considerable work left to make it more robust about IFF file handling
(problem was with the "claz" code), and to put in command line options to
handle the different output options so the different variants can be merged
into a single version.

I will probably not be working on that for a while yet, and, again, be quite
willing to let someone else take a crack at it.

Please send me e-mail message if you are interested in getting a copy, in
getting it posted as-is, or in working on it.
-- 
Godfrey Lee                                      P.O. Box 9707
Cognos Incorporated                              3755 Riverside Dr.
VOICE:  (613) 738-1440   FAX: (613) 738-0002     Ottawa, Ontario
UUCP: decvax!utzoo!dciem!nrcaer!cognos!glee      CANADA  K1G 3Z4