Home » MODDING HQ 1.13 » v1.13 General Development Talk » JA2STICreator v0.0.2 (Alpha) (A tool to convert GIF/PNG/JPG files to 8bit STIs. Lotta options.)
briefcase11.png  JA2STICreator v0.0.2 (Alpha)[message #343475] Tue, 15 December 2015 01:16 Go to previous message
Tox is currently offline Tox

 
Messages:249
Registered:February 2000
Location: www.webcodesign.de
http://www.webcodesign.de/JA2STICreator/JA2STICreator.png
This tool seems similar to the STIConverter, but it's a more advanced approach. I completely rebuilt the palette quantizer engine, combining several algorithms and aiming for best possible reproduction. That means that it's not the fastest and larger files will take quite a while to process, a file of 640x640 keeps my machine busy for several minutes.

Features

  • Multi Color Space Analysis
    It analyzes the input image in several color spaces to identify the most important aspects that need to be preserved as good as possible. Based on the analysis the tool adjusts the conversion process. By default only the Luv color space is used, it will give pretty good results in most cases. If the conversion is not as good as you hoped it would be you can try to enable other color channels, HSL for example can be quite useful at times. Keep in mind that more enabled color channels will result in a longer conversion process.
  • Alpha Filter
    You can select a color to treat as transparent in the conversion process. The slider determines how close to the selected color a pixel must be to be detected as transparent. This is useful to remove fuzzy edges with semi-transparent pixels, such as those created by anti-aliasing. However, it is recommended to not use alpha information in the source images, but instead work with transparency colors. This is because a fully transparent pixel will always be read as black (i.e. it loses all color information) and will therefore make black the color to treat as transparent. For my test cases I mostly worked with plain old ugly 0xFF00FF for alpha and 0x0000FF for shadows.
  • Shadow Filter
    You can select a color to treat as shadow color, i.e. it will get the fitting palette index which is JA2 is rendered as 50% transparent shadow. The filtering works like the alpha filter.
  • 9 Dither Algorithms
    You can chose between 9 dither algorithms, each with its unique strengths and weaknesses. Default is Sierra Lite.
  • Color Temperature (30+ Settings)
    You can also set a the color temperature, which can be useful to tone images in the conversion process. By default D65 (6504 K) is used.
  • Single And Multi Page STIs And Sprite Sheet
    When you drop multiple files on the app, it will generate a sprite sheet with all of the images and build a palette for the sprite sheet. This sprite sheet is saved in the sub folder "sprite sheets". In the same folder as the files a multi page STI is saved. You can toggle the behavior to write each sprite to a single page STI instead.


Download it here.

[Updated on: Thu, 17 December 2015 02:00]

Report message to a moderator

Sergeant 1st Class
JA2STI Creator
 
Read Message briefcase11.png
Read Message
Read Message
Read Message thumbs26.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: STI Converter
Next Topic: Replacing Ira's portrait
Goto Forum:
  


Current Time: Fri Mar 29 12:33:59 GMT+2 2024

Total time taken to generate the page: 0.01368 seconds