[comp.sys.mac.misc] PICS specs

km2a+@andrew.cmu.edu (Kenneth E. Mohnkern) (04/24/91)

Where can one find info on PICS files? Any of the Tech Notes cover this?

We need to do some file conversions.

Thanks,
    ken


ken mohnkern # the graphics deli # the robotics institute # pittsburgh pa

vanover@bcsaic.UUCP (Jann VanOver) (04/27/91)

In article <Uc5Mn8S00WBN014ZE_@andrew.cmu.edu> km2a+@andrew.cmu.edu (Kenneth E. Mohnkern) writes:
>Where can one find info on PICS files? Any of the Tech Notes cover this?
>
Seen on this newsgroup in January:

[= 
[= Here's a summary of the PICS File Format:
[=  
[=  % File Type: 'PICS'
[=  % A PICS animation is composed of many PICT resources, starting at id 128
[=  % Numbering is contiguous (128, 129, 130, I)
[=  % Number of frames is equal to Count1Resources('PICT')
[=  % PICT resource 128 describes the complete first animation frame. The
[=    picFrame field of the PICT describes the complete screen size of the
[=    whole animation (all subsequent frames will be drawn within this rect).
[=  % The following PICT resources (129, 130, I) can be either:
[=      % complete frames with the same picFrame as PICT 128
[=      % an update to the previous frame of a smaller area
[=      % a null picFrame (no change in the animation)
[=  % 'INFO' resource (optional), id 128, consiting of:
[=      % BWColor (integer): 0 if black & white PICTS, 1 if color PICTS
[=      % Depth (integer): 1,2,4,8,16 preferred color depth
[=      % Speed (integer): 1 to 200 preferred speed in frames/sec.
[=          A negative value means, show the frame for abs(value) seconds.
[=      % Version (integer): version number (currently zero)
[=      % Creator (longint): signature of creator application
[=      % Largest (longint): size of the largest frame in bytes
[=  

   Thanks to:

[= --  Michael Peirce         --   outpost!peirce@claris.com
[= --  Peirce Software        --   Suite 301, 719 Hibiscus Place
[= --  Macintosh Programming  --   San Jose, California 95117
[= --           & Consulting  --   (408) 244-6554, AppleLink: PEIRCE

   Reposted by me, Jann VanOver
   vanover@atc.boeing.com