LEADTOOLS Support
Imaging
Imaging SDK Questions
How to get File Extension for Each Supported File Format
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, March 1, 2006 5:21:45 AM(UTC)
Groups: Registered
Posts: 1
Hi - Is there a Method/Class of the File Extensions for each Supported Format?
When Saving an Image in a different format then what was read, I would like to include the file extenstion onto the filename based on the format the user selected. Example user openned an Sample.tif and does a save as with the file name of Sample BUT with a file format of "Lead PDF MRC - Lead PDF with Mixed Raster Content". What extenstion do I add ontothe filename?
Thanks!
#2
Posted
:
Thursday, March 2, 2006 11:03:10 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
The extension you use when saving a file does not depend on the compression inside the file. For instance a TIFF file can be saved using JPEG, CCITT Group 4, JBIG, JBIG2, etc compressions. However it is still a TIFF wrapper around the compressed image, so you use the extension *.tif.
The same is true for PDF. The image inside is MRC compressed, but the wrapper around the image is PDF. So you use the *.pdf extension
Travis Montgomery
Senior Sales Engineer
LEADTOOLS Support
Imaging
Imaging SDK Questions
How to get File Extension for Each Supported File Format
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.