#Decrease .FLC file?
16-Dec-94 12:22:31
Sb: #142104-#Decrease .FLC file?
Fm: Nik Grant [adesk] 70421,76
To: NAAUG 73204,3522
Dave – great stuff!
I mentioned Ed Kellerman's tricks with BIR06.Zip and TILE64.ZIP in my response
to Michael. I tried your suggestion about the JPEG idea, and have 2 comments.
I did not see a file improvement when I took MRNUMO.FLC and ran numpic -> JPEG.
Here's some tests:
MRNUMO FLC 50,914 (The original, 320×200)
MRNUMJPG FLC 418,618 (Numpic outputting JPG files, then inputting them
into a flic)
MRNUMJP1 FLC 389,030 (Running One Palette on MRNUMJPG.FLC)
MRNUMO01 FLI 43,384 (Saving original as an FLI)
Of course, this is a very skewed example – higher res images might benefit.
Finally, a comment about NUMPIC not including JPG conversion. If you have the
file JPEG.DRV in your resource directory, you might modify the NUMPIC.POC file
to include the JPG conversion (after backing up NUMPIC.POC of course).
Using EDIT, load NUMPIC and (S)earch for "Macintosh" minus the quotation marks
to bring you into the section of NUMPIC.POC you need to modify. You can see
the word Macintosh there. added the "JPEG" in front of the word Macintosh so
it would show up on the choices menu there. Right below that section I added
the name of the JPG driver (JPEG.DRV) and the file extension (.JPG), each in
front of the Macintosh section. I saved the file and it worked! I'm going to
use my new NUMPIC instead of the original.
There may some repercussions about having done this, related to the fact that
JPG files can be 24 bit, but I think there's a place in the NUMPIC.POC I can
modify if that's the case.
Code snippet:
char pdr_prompt[] = "Please select output format:";
char *pdr_choices[] = {"GIF", "PCX", "TIFF", "Targa", "JPEG", "Macintosh Pict",
"Windows Bitmap", "Cancel"};
char *pdr_names[] = {"GIF.PDR", "PCX.PDR", "TIFF.PDR", "TARGA.PDR",
"JPEG.PDR", "PICT.PDR", "BMP.PDR"};
char *pdr_suffixes[] = {".GIF", ".PCX", ".TIF", ".TGA", ".JPG", ".PCT",
".BMP"};