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 : Friday, November 4, 2005 8:51:50 AM(UTC)

mark  
mark

Groups: Registered
Posts: 1


Hi,

I'm using LEADTools Document Imaging Suite 13.0 with 8-bit grayscale tiff images (compressed with RunLength encoding).  When I call LeadImage1.IsGrayscale on these images, it is returning a value of 0 (i.e. GRAY_NO), so my images end up getting handled as Color images in my code.  Is this a bug or is there some function I need to call first on the image before the IsGrayscale property gets set?

Thanks,

Mark

 

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 : Tuesday, November 8, 2005 10:23:30 AM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

Mark,

I tried the following LEADTOOLS 13 main OCX code on the attached image
and it returned 1, not 0. Please try the same code and image and see if you get the same result.

LEAD1.Load "c:\temp\gray8.tif", 0, 1, 1
MsgBox LEAD1.IsGrayscale

Amin Dodin
LEADTOOLS Technical Support

File Attachment(s):
gray8.zip (1kb) downloaded 40 time(s).
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.067 seconds.