drewnoakes / metadata-extractor-dotnet

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Other
935 stars 166 forks source link

Add TGA support #233

Closed dmitry-shechtman closed 4 years ago

dmitry-shechtman commented 4 years ago

I always thought of these files as "Targa" files. Is "TGA" a more common name, or just the file extension? In general I've tried to use the friendly name in type names, directory Name values, etc.

It is commonly known as TARGA, but that's the name of the video card it was used for. I stuck to the official name.

drewnoakes commented 4 years ago

Do you have some sample .tga files you can provide for the sample library to help prevent regressions here?

dmitry-shechtman commented 4 years ago

Do you have some sample .tga files you can provide for the sample library to help prevent regressions here?

Some of the TGAs I tested on are from ezQuake:

https://github.com/ezQuake/ezquake-media/tree/master/game/textures

Specific files that might be useful:

Both have footers, but no extension/developer areas.

drewnoakes commented 4 years ago

Thanks! I fixed the merge conflicts and made a few other tweaks, verifying the output matches for the ezQuake sample images.