gif to jpeg - truecolors

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

abakker
Posts: 2
Joined: Tue Aug 24, 2004 2:07 pm

gif to jpeg - truecolors

Post by abakker »

To convert a GIF file to a JPEG file you need to use -TRUECOLORS with NCONVERT. I want to do the same with the GFL SDK, but could not get it to work. I used various values (GFL_RGB, GFL_ARGB, etc) for COLORMODEL in GFL_LOAD_PARAMS, but this did not seem to work. How do I set TRUECOLORS in the GFL SDK?

Andre
User avatar
xnview
Author of XnView
Posts: 43132
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: gif to jpeg - truecolors

Post by xnview »

abakker wrote:To convert a GIF file to a JPEG file you need to use -TRUECOLORS with NCONVERT. I want to do the same with the GFL SDK, but could not get it to work. I used various values (GFL_RGB, GFL_ARGB, etc) for COLORMODEL in GFL_LOAD_PARAMS, but this did not seem to work. How do I set TRUECOLORS in the GFL SDK?
Use gflChangeColorDepth
Pierre.
abakker
Posts: 2
Joined: Tue Aug 24, 2004 2:07 pm

Post by abakker »

Thanks, that did the trick.