This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, November 4, 2005 8:51:50 AM(UTC)
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
#2
Posted
:
Tuesday, November 8, 2005 10:23:30 AM(UTC)
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
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
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.