CompuServe Thread

#File size

4 messages in this thread
#76215From: Ed KellermanJan 14, 1994 12:10 AM
I have noticed that it takes about 3K less to store a CEL, than to store the equivalent FLC. That is, a CEL created by clipping FROM ALL the frames of a FLC, is smaller than the FLC. The CEL appears to be usable as a FLC. Does anyone know if they are not really equivalent?
#76317From: Nik Grant [adesk]Jan 14, 1994 12:34 PM
Ed, I'm not able to agree that cel files are smaller. Look at the file sizes of these 2 320×200 animations. JIM FLI 627,304 JIM FLC 636,922 JIM CEL 740,482 DINER FLC 133,684 DINER CEL 130,198 DINER FLI 98,693 The only consistency, which I expected, is that FLI files are smaller than their 320×200 FLC counterparts. FLIC files need more information about their resolutions. I would have expected CEL files to have a larger size than FLICs though. CEL files need offset information too. Here's something from Jim Kent, creator of the formats: CEL files come in two formats – one used in Animator and one used in Animator Pro. The Animator CEL files are single frame only. The Animator Pro CEL files are multi-frame and in fact are the same thing as .FLC files with one additional chunk in the prefix that gives the x/y offset of the Cel. I think the browser can ignore this. Cel Files (.CEL and .PIC) A cel file is a 32 byte header followed by the uncompressed color map (768 bytes) followed by the uncompressed pixel image. Here is the header – Byte Offset Contents 0 Magic Number – 9119 Hexadecimal 2 Width of cel 4 Height of cel 6 Horizontal screen position of upper left corner 8 Vertical screen position 10 How many bits in a pixel – 8 in other words 11 compression type – always 0 for uncompressed 12 size in bytes of cel image – a 4 byte long word 16 16 bytes of zero reserved for future use.
#76462From: Ed KellermanJan 15, 1994 3:25 AM
I have observed the smaller size only when getting the CEL by CLIPPING. In my case, the clipped CEL has always been smaller (at least 2.5K). I would say I've seen it about 100 times. It might be related to the hardware I'm using, the types of FLCs I do, etc. Thanks for the research. I'll take a further look and let you know what I find out.
#76482From: Yost GroupJan 15, 1994 11:06 AM
Good info, Nik. Given the number of requests for cel information, you might add it to the libraries with the keywords: CEL FORMAT.