This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, February 3, 2009 2:04:57 AM(UTC)
Groups: Registered
Posts: 4
Hi,
i have been converting a 24 bit color bitmap to different resolutions.It is fine till 12 bit.But from 8 bit downwards,different colors appear.
The images are below..
Topleft-8 bit conversion
TopRight-7bit conversion
BottomLeft-6bit conversion
Bottomright-Original image.
The image is a giff.
also,the version i am using is leadtools 14
akash attached the following image(s):
#2
Posted
:
Tuesday, February 3, 2009 5:41:21 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
What flags are you using with the color resolution function? You should use the Optimized Palette flag if you want the resulting colors to be similar to the original.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
#3
Posted
:
Tuesday, February 3, 2009 9:42:11 PM(UTC)
Groups: Registered
Posts: 4
Hi,
Thanks for the reply.I am using the inputs from the standard color resolution dialog.For resolutions below 8,the flags returned is CRF_FIXEDPALETTE.So i am just using it.Should i harcode the flag value to CRF_OPTIMIZEDPALETTE??
#4
Posted
:
Wednesday, February 4, 2009 4:23:04 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Akash,
If you use the dialog, the user should be able to choose the flags. This includes the Optimized Palette flag as shown in the attached image.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
Maen Hasan attached the following image(s):
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.