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

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, July 17, 2007 10:21:43 AM(UTC)

wagswvu  
wagswvu

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
 

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 : Wednesday, July 18, 2007 2:39:52 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

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)

wagswvu  
wagswvu

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)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

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.

 
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-2020, Yet Another Forum.NET
This page was generated in 0.153 seconds.