Fix #23188: libpng error: Image width or height is zero in IHDR.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 12 Aug 2010 15:15:02 +0000 (15:15 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 12 Aug 2010 15:15:02 +0000 (15:15 +0000)
commit26f0f25c5a5a36874b35861da02a68541eda8941
tree2c962959e66c2832f95bbbc09b064983d2a9b54f
parent47f319eb6e386e5f03c09de4eafe0c2fe4574407
Fix #23188: libpng error: Image width or height is zero in IHDR.

The file thumbnail generator would write 0x0 size png's to the .thumbnails/fail
folder. However libpng throws an error when doing this. Instead we now write 1x1
png's, which nautilus seems to be doing as well. The content shouldn't matter
anyway since we won't use it.
source/blender/imbuf/intern/thumbs.c