aspect ratio save/load for GIF images
Submitted by Clarence Risher
Link to original bug (#337809)
Description
GIF images include a field for specifying the aspect ratio of the image. This field is currently ignored, except for a warning message, by gifload and set to 0 (effectively 1:1) by gif. I would request that this field be used to store a value based on the x and y resolutions of the image. While the magnitude of the resolutions would be lost, their ratio would be preserved (in most cases, ratios below 1:4 or above 4:1 being effectively nonexistent) which would at least allow the image to be rendered viewably at some zoom level.
I will be attaching my attempt at a patch to gif.c and gifload.c as soon as I can detach the relevant changes from my other additions to those files.
Version: git master