Screen 2 converter

by MSX Resource Center on 17-12-2011, 10:59

TGA to Screen2 converter based on Jannone's converter. Coded in C, this version is faster and more accurate.

AttachmentSizeDownloadsLast download
Screen 2 converter873.83 KB11821 hour 49 min ago

Comments (2)

By ARTRAG

Enlighted (6935)

ARTRAG's picture

17-06-2007, 17:05

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.

By ARTRAG

Enlighted (6935)

ARTRAG's picture

30-01-2010, 09:01

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"