Opening/Saving 16 bits TIFF images

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

Moderators: XnTriq, helmut, xnview

User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Opening/Saving 16 bits TIFF images

Post by dominique »

Dear xnview,
I'm trying to open and process 16bits TIFF images and got some problems.
I tested this images on XnView without problem.
I just got a message that said something like this : "the image will be open in 8 bits/channel...".
Then I can save in 8bits/chanel without any problems

I try to reproduce this with GFL.
With my debuger, I can see that images are opened with automatic convertion from 48 bits (3x16) to 24 bits (3x8).
But once I save its,the result is a stretched image (width divide by 2).
I shoud miss something.

I sent you an email with a link to the tested images.

Rgds,
Dom
User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Re: Opening/Saving 16 bits TIFF images

Post by dominique »

More info:
Using 2.90 -> No problem
Using 3.11 -> Problem
Dom
User avatar
dominique
Posts: 72
Joined: Thu Nov 08, 2007 9:22 am

Re: Opening/Saving 16 bits TIFF images

Post by dominique »

Not shure but I think the problem is while opening 16 bits images.
When I add text with gflAddText, the text is well added (color & position).
Hope it helps
Dom