I am using:
bitmap->Xdpi = Resolution;
bitmap->Ydpi = Resolution;
GFL_ERROR err = gflSaveBitmap( outf, bitmap, &saveparams);
to set the X and Y Resolution and then save the file. It works fine for JPEG, but for GIF I always get horizontal resolution of 384 dpi and vertical resolution of 96 dpi.
Any idea why? I have tried both V2.4 and 2.54.
Scott
Set Resolution
Moderators: helmut, XnTriq, xnview
Re: Set Resolution
GIF doesn't store DPI infotailormade wrote:I am using:
bitmap->Xdpi = Resolution;
bitmap->Ydpi = Resolution;
GFL_ERROR err = gflSaveBitmap( outf, bitmap, &saveparams);
to set the X and Y Resolution and then save the file. It works fine for JPEG, but for GIF I always get horizontal resolution of 384 dpi and vertical resolution of 96 dpi.
Any idea why? I have tried both V2.4 and 2.54.
Scott
Pierre.