TGA to Screen2 converter based on Jannone's converter. Coded in C, this version is faster and more accurate.
The converters in the package are two:
1) The first is a C implementation of Jannone's algorithm.
The main improvement is the speed-up (1500 times faster, due to some optimizations and to the differences between interpreted/compiled languages) and the numerical accuracy.
2) The second is a patched version of the previous algorithm that uses a perceptually uniform distance in the color space. The speed decreases (still 150 times faster than Jannone's) but the errors in colors should be less evident.
Both converter are limited to work on 24bit TGA files (this is bad) but you have the C source,
so you can include their core in your own projects.
About the format of the input file, not all athe TGA filesa are supported
The TGA requirements for the converter are: No RLE compression and origin = "Bottom Left".
In The-Gimp, you have to check these boxes when saving the TGA file:
- With or without RLE compression (checkbox): select without RLE compression
- Origin: "Bottom left" or "Top Left" (combo box): select "Bottom Left"
Don't you have an account yet? Become an MSX-friend and register an account!