SLK_img2pixel
A downloadable tool for Windows and Linux
SLK_img2pixel is a tool for converting images to a limited palette. It was originally created to convert textures for retro-style games (ps1, quake, etc.), but can be used for sprites, too.
This project is free Software. You can find the source code on Github!
Palettes
SLK_img2pixel needs a palette to convert images. Any palette in the .pal (and .png, .hex and .gpl) format should be supported. I have included a few palettes in the download, but you will probably need more variety. There is a great collection of palettes on lospec.com
Something missing?
If you want to see a feature added to SLK_img2pixel, feel free to request it, I will most likely add it (If I have the time)!
Commercial usage?
In case you are wondering whether you can use the generated images for your projects:
I do not take any ownership in any of the generated images, you can freely use, distribute and even sell them!
Discord Server
SLK_img2pixel has a Discord server! You can suggest features, report problems or just talk there.
Link: https://discord.gg/Nch8hjdZ2V
Screenshots
Status | Released |
Category | Tool |
Platforms | Windows, Linux |
Rating | Rated 5.0 out of 5 stars (91 total ratings) |
Author | Lukas Holzbeierlein |
Tags | 2D, Open Source, Pixel Art, pixelation, Sprites, texture |
Links | Source code, Community |
Download
Development log
- SLK_img2pixel 1.5Apr 26, 2024
- SLK_img2pixel 1.4Sep 17, 2022
- SLK_img2pixel 1.3Apr 21, 2022
- SLK_img2pixel v1.2Aug 16, 2021
- SLK_img2pixel v1.1Apr 24, 2021
- SLK_img2pixel v1.0Feb 14, 2021
- SLK_img2pixel v0.4Jan 27, 2021
- SLK_img2pixel v0.3Jan 24, 2021
Comments
Log in with itch.io to leave a comment.
because some antiviruses are very paranoid
also literally no one has heard of MaxSecure
mac version by any chance?
It is an amazing program! But is there any way I can import an image sequence?
why does this look so good? what's different between this and other pixellation palettized dithering tools??
Accidentally deleted and had to redownload and saw a new version was uploaded 4 days ago!!! Loving the update - ui is feeling great :]
Dude, this is awesome, you’re losing money here.
Literal life saver. You have saved me loads of grey hairs. Thank you so so much for this tool!!!!!!!
I've been messing with this all day - super cool. Really appreciate all the work done to create this, thank you so much.
This looks awesome! Would you consider making a linux version?
You can build it from source, but that's a pain
Can't believe this is free! It's exactly what I was looking for! Thank you, Lukas! :)
please add the ability to set the resolution to greater than 512 :(
Today after I don't know how many tests I have discovered this tool and I think it is by far the one that gives the best results. And not only that, but the most comfortable, both to load your own palettes and save presets, see changes in real time, saving facilities, compare imput and output, and something more, and all this in a simple and friendly environment, I wish I had found it a few hours ago XD
Thanks man!
It takes a good 20-30 sec to change between dither mode, any idea why that would be? Great tool otherwise, thanks!
That really shouldn't be the case, did you perhaps set the output resolution absurdly high? If that isn't the case, you could join the discord, or open an issue on github (https://github.com/Captain4LK/SoftLK-tools) and post the preset ("Load/Save" -> "Save preset") and an image where that occurs there and I can take a closer look.
Will there be a mac version
No, I don't own any apple hardware, so I couldn't even test a mac version
Can you use this inside Photoshop?
No, it is a standalone program.
Really love the work you've done on this tool. It helps a lot.
One thing i have a problem with is that the preview window is quite small on my desktop and sometimes i cant make out the detail. Is there anyway to scale or zoom the preview window? I see on the screenshots here it's a lot bigger than mine.
Both windows should be resizable. If you are on a 4k Monitor you can also change the gui_scale value in the settings.json file from 1 to 2.
Thank you! And sorry for that... I was still using a version I downloaded a long time ago xD
It crashes when I try to open a file (image or palette). The browse window opens, but img2pixel shuts shortly after.
So if I understand you correctly, img2pixel crashes before you close the browse window, right? That would mean it crashes inside your OS, since img2pixel doesn’t do anything while a file dialog is open. Is there an entry in the windows event viewer (“Windows Event Viewer” => “Windows Logs” => Application) about img2pixel?
Indeed there is. Do you wish to check the log ? I have no idea what to do with it myself to be honest. I can put it here, on Discord or Github, whatever you prefer.
Yeah the log would at least give me a clue for whats happening. I think Discord is the least clunky to use.
Any macOS support in the future?
yes whould also need this for macOS
this really is the best pixeling tool ive seen!
I LOVE IT!
Great!
It would be interesting for you to create a system to apply this effect to sequential images at the same time, so that these images could later be converted into video in any other editing software to generate a video.
Do you mean like a batch convert of all files in a dir perchance? Img2pixel can already do this.
Load a preset or tweak any image to your liking then choose your input dir with images you want to convert to those settings. Setting your output-dir will automatically apply those settings and save them to the output-dir.
@Laerte Junior - adding on to @xaGe, you could probably find a tool to split a video into multiple images. Or convert the video to gif, and then split using Python or any other tool.
<3
Fantastic Tool!
can we get a linux version too?
There is already, but you need to build it yourself. It is pretty easy though since, Linux. ^_^
Holy fuck this cut asset development time by a ton when I decided to make my game's art style highly processed and pixelated photographs
This is an amazing tool. I would love to see how it works for animations. Would it at all be possible to add more video file format support, such as MP4 or AVI?
you can make a image sequence, put into the tool and put all the images in a video editor
nice tool
I was surprised to see you posted SLK_img2pixel to GitHub now also. ;-)
i've been using this tool for half a year now and its amazing.
The only things i feel like it should have are
- A HUE like slider to change colors accordingly to the palette
- And a tile view or maybe even a editor
This is just awesome. Thank you!
One request: It's great if this tool can convert image(s) via command line.
This tool is art. I used it for a game, thank you for sharing it.
Hi ! this is an awesome tool, thanks for sharing !
A quick question : is there a way to export the image in a way as it is presented on the preview ? Like the exported image is 256x256 max I think.
Thanks again ! :)
Thanks, I’m glad the tool is useful.
I don’t think I properly understood your question though. I’ll try answering it anyways:
If you are talking about the before/after animations, these are videos I created and rendered as GIFs. I can add the ability to export images as such animations to SLK_img2pixel if needed.
If you are talking about exporting upscaled versions of the output images, that’s currently not possible, but I can add that.
If you are talking about creating images larger than 256x256, that’s possible by selecting the relative tab in the general section. By using this, the image gets divided by the factor specified.
If I completely missed the meaning of your question, please try to rephrase it. I’m trying to provide the best user experience possible and good feedback is the basis for that. :)
Hi !
Thank you for your reply. Indeed, using the relative tab is an option but I was indeed asking about exporting an upscaled version of the output image (I hope I'm using the right words !). Because when I export with relative, it does not keep this "pyxel art" thing but larger than 256x256.
And what you've suggested could be interesting by making GIF !
Concerning the UI/UX, I feel like a "help" button into the software could be an option, but else I guess that's good :)
Have a good day !
Thanks for clarifying, I will certainly implement this in the next version! I don’t know when it will be ready though.
WOW! This is simple and NICE! I wished it had a native Linux build (I failed building on Arch or Manjaro Linux), BUT I can tell you 1st hand it runs in a basic WINE prefix fairly easily, and no issues that I find so far.
I love that it is open-source with code publicly available.
Thank you!
Thanks! I'm actually on Linux myself, I just haven't figured out how to properly distribute Linux binaries (I build with a cross compiler and test with Wine).
Your build might be failing because the makefile expects SoftLK-lib to be installed globally. Feel free to open an issue in the repository if you can't figure it out!
I do appreciate that! I did register on codeberg as soon as found this project here. You may be right. Although I did build SoftLK-lib, install the SLK/header files globally into my system ( /usr/include/SLK/ ), building SLK_img2pixel does fail after some compiling, pointing to a ‘entry.suffix’ possibly being used uninitialized in this function ‘gd_get_frame’ from ‘external/gifdec.c’. I must have missed something.
I’ll continue this in an issue in the repository.
this was fantastic, so easy ! excellent
recon you should add this for mac
Such an amazing tool!
Здравствуйте, отличный инструмент, но он не работает, если путь или имя файла имеют кириллические символы.
Hello, a great tool, but it doesn't work if the path or file name has Cyrillic characters.
Thanks for the heads up, will be fixed in the next update which should be ready tomorrow