Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Tegra X1 Texture (XTX) support

Open niemasd opened this issue 7 years ago • 4 comments

This is not a bug report, but more of a placeholder for a potential enhancement. It would be great if the XTX format could be supported by Pillow. I may work on this soon, but I just wanted the information to be available in case anybody else was interested as well.

Information about the XTX format: https://github.com/aboood40091/XTX-Extractor/wiki

How to write a new Pillow decoder: https://pillow.readthedocs.io/en/5.1.x/handbook/writing-your-own-file-decoder.html

niemasd avatar Oct 17 '18 05:10 niemasd

The project that you've linked to hasn't received an update in a while. Do you have any sample images that could be included under Pillow's license?

radarhere avatar Jun 22 '19 11:06 radarhere

EDIT: Removed file

In the attached zip file, I include a .jpg file as well as a .xtx file I created. Because the original image is not copyright and I converted to xtx myself, I imagine this would be allowed under Pillow's license

niemasd avatar Jun 22 '19 17:06 niemasd

For the .jpg, https://www.deviantart.com/vladictivo/art/Final-Fantasy-VII-NES-Front-Cover-467473039 says it is "©2014-2019 vladictivo".

Is the .xtx a conversion of that?

Instead, would you be able to convert one of the hopper.*files from Tests/images/ to hopper.xtx?

hugovk avatar Jun 22 '19 18:06 hugovk

Woops, didn't catch that! I've removed the file. Attached is a conversion of hopper.bmp to the xtx format.

hopper.zip

niemasd avatar Jun 22 '19 18:06 niemasd