Be careful to specs: http://www.w3.org/Graphics/GIF/spec-gif89a.txt
Pixel Aspect Ratio - Factor used to compute an approximation
of the aspect ratio of the pixel in the original image. If the
value of the field is not 0, this approximation of the aspect ratio
is computed based on the formula:
Aspect Ratio = (Pixel Aspect Ratio + 15) / 64
Changed to:
if (Image_PixelAspectRatio)
Fill(Stream_Image, 0, Image_PixelAspectRatio, (((float)PixelAspectRatio)+15)/64);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Be careful to specs:
http://www.w3.org/Graphics/GIF/spec-gif89a.txt
Pixel Aspect Ratio - Factor used to compute an approximation
of the aspect ratio of the pixel in the original image. If the
value of the field is not 0, this approximation of the aspect ratio
is computed based on the formula:
Aspect Ratio = (Pixel Aspect Ratio + 15) / 64
Changed to:
if (Image_PixelAspectRatio)
Fill(Stream_Image, 0, Image_PixelAspectRatio, (((float)PixelAspectRatio)+15)/64);
Erff, forgot to check the specs...
Thanks anyway for reviews ;-)