Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#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?



Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#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
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.042 seconds.