Open HeroesGrave opened 10 years ago
The problem is, that there are hundres of different internal-formats for TGA, if not thousands of internal-formats. We would have to write import functionality for ALL of them, or at least the ~50 most commonly used.
Are there any freeimage bindings for Java?
That could help.
Otherwise I'll just close this.
Do people actually use tga? Usually for pixel art (at least in my experience) it's only png's, and jpeg's and gif's are common enough to warrant including. Everything else should just be a plugin. That said, should we include all "official" plugins in this repo and have them with the project? It seems like automatically including these plugins would be helpful.
It seems like automatically including these plugins would be helpful.
I've been thinking of a good way to do that as well, perhaps have 'officially sanctioned' plugins be included in the repo/build in an effects folder (under original author's package names, etc) and have the plugin manager check the github for them?
I should probably create an organisation for this project. That might save some trouble, or it could create more.
I'll fork it and add 16bit and paletted color. It still seems a little janky (Just printing errors instead of exceptions) but we can always swap out implementations if this doesn't work for us.
The following "types" that TGA supports are
As far as I can tell, the library only supports the RGB related types. Truevision is a very simple format, fortunately, so I figure it will be easy to implement all of this. However, just grabbing an already completed library (Like 12monkeys??) might be a better alternative.
Check out the 12monkeys repository I just created, plus the commit I made a pull request for. It'll allow for a TGA importer.
We have an exporter but no importer.
I'm not very familiar with image formats, and I don't really see that they are needed, but for the sake of consistency we shuold add support for loading them.