Path: utzoo!attcan!uunet!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.apple2 Subject: Re: 3200 pics Message-ID: <1990Jul27.151230.26635@eng.umd.edu> Date: 27 Jul 90 15:12:30 GMT References: <3433.apple.net2@pro-grouch> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 27 In article <3433.apple.net2@pro-grouch> rond@pro-grouch.cts.com (Ron Dippold) writes: >I also want to be able to save the pictures, of course. The first five types >(oops, 4 types) are standard. The 3200 color picture files are NOT standard. >I am most interested in the 3201 format, which includes compression. I may >have to implement an extension for multi-screen documents. So I need the file >formats, or I'm going to have to disassemble a lot of code. I sympathize with you... I had a hard time finding the 3200 format too, including having to put up with flack from II-only people who didn't appreciate me reading the format on a mac. Anyway, here it is: typedef unsigned short paltype[16]; struct pict3200 { unsigned char data[32000]; /*the raw data from memory */ paltype pals[200] } (Yup, it's that simple-- except for one catch. The palettes are stored in reverse order-- i.e. pal[linenum][15] actually should be displayed when there is a 0-valued nybble in the data, anv vice-versa) If you find anything out about the compressed format, please let me know (I haven't seen any pictures in it) -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions? Hey! Bush has NO LIPS!