|
The information on this page applies to: LEADTOOLS version 10 or greater
Symptoms: Other applications can not read JPEG (FILE_JFIF) files that were created by LEADTOOLS.
Cause: Most likely you are passing 0 for iQuality argument in your call to Lead's Save function. This will create a loss less JPEG file and most applications do not have support for such compression.
Another cause could be that the application loading the file only reads the older style JPEG compressed TIFF files. IN the old specification, the compression tag was set to 6. This was changed to 7 but some applications cannot read it. By setting the flags below, it will save it with a tag value of 6.
.NET - CodecsJpegOptions.CodecsJpegSaveOptions.SaveOldJtif Property API, C++ Lib - ESO_SAVEOLDJTIF Flag In SAVEFILEOPTION Structure OCX,COM,VCL – SaveOldJTIF Property
|