Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Save image to grayscale color
Started by MychaL at 03-31-2008 9:01. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  03-31-2008, 9:01
MychaL is not online. Last active: 4/7/2008 9:40:37 AM MychaL

Top 200 Posts
Joined on 08-04-2006
Posts 15
Save image to grayscale color
Reply Quote
i'm testing components, and i would like to save an image to grayscale....


i have tested this code :

FImg.grayscale(8);
FImg.UseLUT := True;
FImg.ColorRes(8, CRF_BYTEORDERGRAY,  CRF_NODITEHRING, 0);
FImg.Save('c:\test.tif', FILE_TIF, 8, 0, SAVE_OVERWRITE);

but i have in result a 256 colored image, and not a 256 grayscale image.


Any idea ?

Thanks.

nb: Leadtools 14.5 used under Delphi.

   Report 
  03-31-2008, 10:49
GregR is not online. Last active: 10/10/2008 11:46:18 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,621
Re: Save image to grayscale color
Reply Quote
What is the file version of ltkrn14n.dll that you're using?

Please post a before and after image so I can see exactly what you're talking about.

NOTE: If you are attaching a project or file to the forums...
1.) Zip the file(s) up.
2.) Make sure it is less than 5 MB.  If it is larger, please send an email to support@leadtools.com and we'll send you FTP instructions.
3.) Remove ANY AND ALL unlock codes and LEADTOOLS DLLs.
4.) Do not click the preview button, the attachment will not show up when you post it.
 
If you do not wish to post your file(s) on the forum since they are publically viewable, please send an email to support@leadtools.com and make sure that you include a link to this forum post.


Greg Ross
LEADTOOLS Technical Support
   Report 
  05-14-2008, 11:33
GregR is not online. Last active: 10/10/2008 11:46:18 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,621
Re: Save image to grayscale color
Reply Quote
It appears that this issue has continued on the following forum post:

http://support.leadtools.com/SupportPortal/cs/forums/20216/ShowPost.aspx

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Color Conversio... » Save image to grayscale color

Powered by Community Server, by Telligent Systems