Set Resolution
Posted: Fri Nov 03, 2006 7:33 pm
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
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