Page 1 of 1

[Fixed] B1 - PNG null description lose all image data

Posted: Tue Jan 13, 2009 6:21 am
by Jaff
Select any .PNG file / press CTRL+D to describe / be sure to have checked the (embedded comment) box / leave a null comment (0 char$) and press write.

PNG+HDR+DAT+END ---> PNG+HDR+tEXtComment (and no DAT+END?)

All image data won't be rewritten in the new file. the header, and all stuff is there.
Also the "tEXtComment" is not needed anymore since is an empty comment ;) don't write it to file (smaller size)

with a normal description the file will look like this

PNG+HDR+DAT+END ---> PNG+HDR+tEXtComment DAT+END)

Re: B1 - PNG null description lose all image data

Posted: Tue Jan 13, 2009 1:07 pm
by xnview
Right...