Posted August 16, 2021 by Lukas Holzbeierlein
SLK_img2pixel version 1.2 has been released! This is a bigger update introducing quite a few features that have in my opinion been long overdue!
SLK_img2pixel now has a Discord Server! You can suggest new features, report problems or just talk about SLK_img2pixel there.
Link: https://discord.gg/Nch8hjdZ2V
You can now add outlines/inlines to the generated images using the new options in ‘Colors’ tab! Here is the feature in action:
In the sampling tab you will now find two new sliders, ‘y off’ and ‘x off’. They can be used to slightly move the image before sampling. This is a solution to a problem you might encounter when trying to convert textures. Sometimes, after downscaling some lines get lost. By using these sliders you can mitigate this problem to some extent. Here is a demonstration using a wood texture:
I spent some time separating the gui from the actual functionality of SLK_img2pixel. This made it possible to create a version of SLK_img2pixel that can be used from the command line. The download now includes the cmd version as an additional executable titled ‘SLK_img2pixel_cmd’.
Currently there is now documentation for the cmd version though. You can try running
./SLK_img2pixel_cmd.exe --help
in a terminal to get a list of all the options available. If you need help, join the Discord and ask for help there.
A slider for adjusting the hue of the image has been added to the ‘Process’ tab. By changing the hue you can roughly adjust the colors of the input image to the palette.
The v1.1 update introduced color quantization to SLK_img2pixel. This version replaces the algorithm used with one producing a much better selection of colors. Here is a direct comparison of the results in v1.1 and v1.2:
In this update dithering has been reworked, the following modes are now available:
The equivalent of ordered dithering from previous versions is the bayer 8x8 dithering mode. From my testing, bayer 4x4 works best for pixel art, but here is a comparison of the available modes, dithering a black-white gradient down to two colors:
Full changelog: