Sauerworld Forum

Another (online) tool to create Pixel arts - Imtoc

Salatiel

  • ***
  • 116
  • +25/-1
    • Projects by Salatiel
Another (online) tool to create Pixel arts - Imtoc
« on: January 02, 2019, 04:03:07 PM »
Hello!
 IMTOC is a javascript/website that allows you to convert an image to an executable .cfg format, without having to install anything.



You just need to upload the image and download the .cfg



After sending and converting the image, you will receive a .cfg file containing all the color information, including the size. You can run it ingame (/exec imagename.cfg) and draw the image line by line, similar to the old CubeArt made by SomeDude, but now you only have to do half the work ;D







Link: https://salatielsauer.github.io/IMTOC-Converter/
(tested only with chrome, it might look visually strange in other browsers)

There is a section on the page where you can find some links to sites that convert images to txt, if you know how I can implement this function on the page itself, tell me

Ingame Guide:
After putting the cfg file in the sauerbraten folder and running it ingame (/exec filename.cfg)...
/drawloadimg the name of the image should be the cfg name you downloaded earlier.
/drawreset will reset the 'pixel id' value to 0, you must do this every time you start a new image.
/drawundo this subtracts the width value from the 'pixel id', then you can re-draw this line.
/drawrow this is the command that will actually draw the pixel/cube.

Many thanks to RaZgRiZ for helping me with the cubescript part.

have fun and leave your feedback :)

Update 16/05/2019:
I've basically re-created the entire tool, now it supports better large files, and the "conversion" time is shorter than before.

Update 17/05/2019:
Now you no longer need ImageMagick or text files, just upload the image and download the .cfg, this is the real magick;D
« Last Edit: May 17, 2019, 10:55:25 PM by Salatiel »
@Salatiel#5274

Doko

  • **
  • 71
  • +4/-0
Re: Another (online) tool to create Pixel arts - Imtoc
« Reply #1 on: January 02, 2019, 06:06:03 PM »
Amazing  ;D

Salatiel

  • ***
  • 116
  • +25/-1
    • Projects by Salatiel
@Salatiel#5274

Salatiel

  • ***
  • 116
  • +25/-1
    • Projects by Salatiel
Re: Another (online) tool to create Pixel arts - Imtoc
« Reply #3 on: May 17, 2019, 01:53:13 AM »
Update 17/05/2019:
Now you no longer need ImageMagick or text files, just upload the image and download the .cfg, this is the real magick;D
« Last Edit: May 17, 2019, 10:32:56 PM by Salatiel »
@Salatiel#5274