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, March 3, 2009 10:57:02 AM(UTC)

dtran  
dtran

Groups: Registered
Posts: 5


When open an 8 bits a scanned image (Tif uncompreess) and save with Leadtools 13, Some original tags are being changed!
Tags 262 value is changed from 1 to 3 (index color)
Tags 320 (colormap) is added an some others

In VB6 I used:
Lead1.load inputfile, 0,0,1
Lead1.save outputfilename, FILE_TIF,8,0, save_overwrite.
Also tried:
Lead1.save outputfilename, LEAD1.InfoFormat,Lead1.bitmapbits,0, save_overwrite.

How can I keep all orignal tags? Please help.

Thanks.
dtran attached the following image(s):
TIFTAGS.jpg
 

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, March 4, 2009 4:13:54 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,028

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

You should set the SaveNoPalette property to True before calling the Save method.
 
#3 Posted : Wednesday, March 4, 2009 6:15:37 AM(UTC)

dtran  
dtran

Groups: Registered
Posts: 5


Thanks.
It's working.
 
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.122 seconds.