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

Feedback and Comments on the new 1.96 Test version on Windows.

Moderators: XnTriq, helmut, xnview

User avatar
Jaff
Posts: 67
Joined: Fri Dec 07, 2007 8:55 am
Location: Romania
Contact:

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

Post 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)
Last edited by Jaff on Thu Jan 29, 2009 9:28 am, edited 1 time in total.
Imi este indiferent ce cred ceilalti despre mine, caci oricum fiecare crede ce-i convine lui si nu ceea ce e real, doar ca mi-ar fi placut sa ma vada asa cum sint de fapt, nu asa cum poate le-ar placea lor sa creada. Ei au ales deja...
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: B1 - PNG null description lose all image data

Post by xnview »

Right...
Pierre.
Locked