GNOME Bugzilla – Bug 169333
[pngdec, pngenc] Stride problems
Last modified: 2005-03-10 16:57:43 UTC
pngdec knows nothing about strides. Just try pngdec ! ffmpegcolorspace ! ximagesink with an image that has an odd width, and you'll see. Patch coming soon...
Same goes for pngenc. I'm testing a possible patch, will submit in a few minutes.
Created attachment 38316 [details] [review] Patch fixing the problem This patch makes png* round up widths so that they are a multiple of four. Tested with 24 and 32 bit images, and the patch fixes the elements in the case of images it broke on before, and those that worked before, work after the patch too.
Created attachment 38317 [details] [review] Fixed patch... *sigh* The second part of the previous patch is obviously wrong, I diffed against the wrong tree. Fixed now. Sorry for the noise.
applied, thanks once more!