LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Returning Image Information (Infoformat)
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, July 17, 2007 10:21:43 AM(UTC)
Groups: Registered
Posts: 4
I am trying to use the "infoFormat" to get some information about the image. However, when I use it I am only getting back a number. For example, if I run a uncompressed tif image through when it hits this line in my program "Format = objlead.InfoFormat" it will return 22, but if I have a JPEG compressed tif it will return 29. My question is do these codes mean something and are they listed somewhere or how get I get it to display the value that is talked about in the "Formats of Input Files" in the lead help files. Thanks
#2
Posted
:
Wednesday, July 18, 2007 2:39:52 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
This depends on the LEADTOOLS programming interface you're
using. For example, if you are using our Main OCX version 14.5, there's an
enumeration defined as LEADLib.FileConstants that contains values such as:
FILE_JPEG_411 = 21 (this means JPEG 4:1:1 format)
FILE_JPEG_422 = 23 (this means JPEG 4:2:2 format)
FILE_TIF_JPEG_411 = 22 (this means TIFF format with JPEG
4:1:1 compression)
FILE_CCITT_GROUP4 = 29 (TIFF format with CCITT G4
compression)
#3
Posted
:
Wednesday, July 18, 2007 5:02:33 AM(UTC)
Groups: Registered
Posts: 4
I am using the Main Tools Version 13, is their a listing some where that lists what the codes mean? thanks
#4
Posted
:
Thursday, July 19, 2007 3:38:59 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
If you have LEADTOOLS Raster Pro or higher, you can find the
list of the supported formats inside the LTfil.h file inside the LEADTOOLS Include
folder.
If you only have the Main OCX, the constants are
listed in the Main OCX help file under the topics "Formats of Input Files"
and "Formats of Output Files". Their values are defined in the OCX
type library in the LEADLib.FileConstants enumeration.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Returning Image Information (Infoformat)
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.