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


StatusReleased
CategoryTool
PlatformsWindows, Linux
Rating
Rated 5.0 out of 5 stars
(87 total ratings)
AuthorLukas Holzbeierlein
Tags2D, Open Source, Pixel Art, pixelation, Sprites, texture
LinksSource code, Community

Download

Download
slk-img2pixel-win64.zip 1.5 MB
Version 1.5.1 74 days ago
Download
SLK_img2pixel-x86_64.AppImage 5.1 MB
Version 1.5 80 days ago
Download
SLK_img2pixel - win32 1 MB
Version 1.4 Sep 17, 2022

Development log

View all posts

Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 1 to 40 of 41 · Next page · Last page

I really hope the new version gets the easy batch conversion for gifs. I tried using the powershell thing but couldn't figure it out and just ended up looking for a download of 1.4 version.

(-2)

Why does this contain Trojan.Malware.300983.susgen when scanned?

(+3)

mac version by any chance?

(+1)

It is an amazing program! But is there any way I can import an image sequence?

(+1)

why does this look so good? what's different between this and other pixellation + palettized dithering tools??

(+1)

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.

(+2)

Literal life saver. You have saved me loads of grey hairs. Thank you so so much for this tool!!!!!!!

(+2)

I've been messing with this all day - super cool. Really appreciate all the work done to create this, thank you so much.

(+2)

This looks awesome! Would you consider making a linux version?

(+2)(-1)

You can build it from source, but that's a pain

(+1)

Can't believe this is free! It's exactly what I was looking for! Thank you, Lukas! :)

(+1)

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 

(+1)

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

(+1)(-1)

No, I don't own any apple hardware, so I couldn't even test a mac version

(+1)

Can you use this inside Photoshop?

(+1)

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.

(1 edit) (+2)

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.

(+1)

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.

(+2)

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?

(1 edit)

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.

(+2)

Yeah the log would at least give me a clue for whats happening. I think Discord is the least clunky to use.

(+2)

Any macOS support in the future?

(+2)

yes whould also need this for macOS 

(+1)

this really is the best pixeling tool ive seen!

(+1)

I LOVE IT!

(+1)

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!

(+3)

can we get a linux version too? 

There is already, but you need to build it yourself. It is pretty easy though since, Linux. ^_^

(+2)



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

Pretty awesome work bro!



(+3)

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

(+1)

nice tool

(+1)

I was surprised to see you posted SLK_img2pixel to GitHub now also. ;-)

(+3)

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

(+1)

This is just awesome. Thank you!

One request: It's great if this tool can convert image(s) via command line.

(+3)

This tool is art. I used it for a game, thank you for sharing it.

(+2)

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 ! :)

(+2)

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. :)

(+2)

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 !

(+2)

Thanks for clarifying, I will certainly implement this in the next version! I don’t know when it will be ready though.

(1 edit) (+2)

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!

(1 edit) (+1)

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! 

(+1)

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.

(+2)

this was fantastic, so easy ! excellent

(1 edit)

recon you should add this for mac

(+1)

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

Viewing most recent comments 1 to 40 of 41 · Next page · Last page