News for hackers. Stuff that matters.
Re:Dependency by ldd on Monday August 17, 2020 @08:49PM (#24194114)
I use imagemagick to split spritesheets into single images for games that I make[0]. More than 1 gamedev has saved countless of hours thanks to it, so I 100% hope it never breaks.

[0]: https://gist.github.com/ldd/9b576bb6f0ac99a0a7895eaf1aae7802

Re:Dependency by zzo38computer on Tuesday August 18, 2020 @02:12AM (#24195779)
My "ff-dice" program (together with "pngff" to decode PNG, and "ffpng" to encode PNG; these two also require LodePNG, which is included, and which itself has no other dependencies) also does that.

Netpbm also does this; you can use the "pamdice" program (together with "pngtopnm" and "pnmtopng" to decode and encode PNG). However, pamdice requires creating intermediate files, while ff-dice doesn't require that.

So, you have two more things to try if ImageMagick won't work.

Re:Dependency by ldd on Tuesday August 18, 2020 @08:16AM (#24197716)
Do you have a link?

Ironically, trying to good for `ff-dice` or `pngff` sends me back to this thread!

Re:Dependency by zzo38computer on Tuesday August 18, 2020 @05:43PM (#24204705)
There is a Fossil repository at: http://zzo38computer.org/fossil/farbfeld.ui

(Although there are a lot of files, you will only need to compile the files that you need, and you can delete the files that you don't need.)

Re:Dependency by ldd on Wednesday August 19, 2020 @05:33AM (#24208661)
awesome!