When I save a GIF file using GflAx from VB, I get images that have a pixel aspect ratio of 0.250 instead of being square pixels. This is no problem in Windows browsers that ignore the ratio tag, but Photoshop recognizes it and open the images stretched in the horizontal direction.
By simply changing the pixel aspect ratio to square they display fine but it's annoying.
So what could be the solution? this is how GIF files look when opened in Photoshop (up straight from GflSDK, bottom after correcting aspect ratio to sqare):
dominique wrote:In photoshop, you have an option : Image > Pixel Aspect Ratio > Square
Dominique, that is exactly what I did to obtain the former image correctly displayed.
My qestion is: is there anything that can be done in the Gfl SDK to obtain .GIF files straight in a correct 1:1 aspect ratio?
As there is nothing in GFLSDK you can modify your file after the save operation and change the corresponding value in the file's header : http://www.u229.no/stuff/GIFFormat/
I try to change this value in your file then the file is directly well displayed in photoshop.
dominique wrote:As there is nothing in GFLSDK you can modify your file after the save operation and change the corresponding value in the file's header : http://www.u229.no/stuff/GIFFormat/
I try to change this value in your file then the file is directly well displayed in photoshop.
Cool, right what I needed. Thank you very much Dominique.
Anyway I would like to report this minor BUG to the author of GflSDK, just a 1:1 aspect ratio by default on GIFs would be appreciated.