You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in the zTXt being copied to the new file but after the IDAT chunks.
.dmi is format used by a old game engine called Byond but its literally just a png file with zTXt Keyword "Description" being used to associate the image data with sprites in game.
However if the zTXt chunk comes after the IDAT chunks the game engine fails to read the file.
Original file seen by the programm TweakPNG:
My modified file to which I want to add the zTXt tag after using the mentioned command:
The sRGB, gAMA etc. comes from me and I want the zTXt chunk somewhere between IHDR and IDAT
I read that in earlier version you had to use PNGEarlyXMP for exiftool to write the data before IDAT but apparently in newer versions this should happen automatically.
Im using exiftools version 11.62.
The text was updated successfully, but these errors were encountered:
The PNGEarlyXMP applied only to XMP. The current version always writes XMP before IDAT. Other zTXt chunks are written after IDAT. It looks like I maybe need to extend this to zTXt (and other text chunks). I'll look into this.
Im currently trying to automate the process of copying a zTXt chunk from one file to another file.
For this im using the command:
exiftool.exe -z -TagsFromFile D:\path\to\file\areas.dmi -Description D:\path\to\file\areas.dmi.new
This results in the zTXt being copied to the new file but after the IDAT chunks.
.dmi is format used by a old game engine called Byond but its literally just a png file with zTXt Keyword "Description" being used to associate the image data with sprites in game.
However if the zTXt chunk comes after the IDAT chunks the game engine fails to read the file.
Original file seen by the programm TweakPNG:
My modified file to which I want to add the zTXt tag after using the mentioned command:
The sRGB, gAMA etc. comes from me and I want the zTXt chunk somewhere between IHDR and IDAT
I read that in earlier version you had to use PNGEarlyXMP for exiftool to write the data before IDAT but apparently in newer versions this should happen automatically.
Im using exiftools version 11.62.
The text was updated successfully, but these errors were encountered: