tynet-lichat/shirakumo - IRC Chatlog
Search
Friday, 3rd of February 2023, 4:37:18 UTC
8:58:59
gingerale
shinmera: Any plans on making trial-png support indexed colour pixel format?
8:59:19
shinmera
No current plans. Just convert to truecolor.
9:10:57
gingerale
Odd, imagemagick's convert still makes it into indexed colour even if I specify -type
9:12:05
shinmera
or alternatively just open in krita/gimp, convert the colour format, and then save.
9:12:07
gingerale
Unrecognised option
9:12:24
shinmera
it's definitely an option
9:12:54
gingerale
Well it's not listed in the man page nor its online equivalent either
9:13:08
shinmera
it is listed in my man page
9:13:50
gingerale
I've ImageMagick 7.1.0
9:13:59
shinmera
optipng is not imagemagick
9:14:19
gingerale
Oh, I'm using convert, as I said. And I read that as 'option' not optipng
9:17:53
gingerale
Hmm.. Trial still claims it's indexed colour after running the png through optipng -np
9:18:08
shinmera
then just do the krita method
9:18:20
gingerale
I'm guessing it's because it already has a palette
9:22:19
gingerale
Alright, got it working.
9:24:26
gingerale
By the way, I tested with optipng -np afterwards and it still optimised it to be indexed colours.
9:25:19
gingerale
Also seems that with imagemagick the command is 'convert original.png rgb24:image.png'
10:20:57
gingerale
It'd seem that I can't just use the png file from Factory Reset editor's output for the .dat file in the documentation.
10:20:59
gingerale
https://chat.tymoon.eu/data//shirakumo/a217bfd4bc42848478060bc88ea23ebc281d9e8b6420f5cdc251bcb0fc1139b9.png
10:22:44
shinmera
yeah you have to convert it into a raw pixel file.
10:23:49
shinmera
You might be able to pass (pngload:data (pngload:load-file path :flatten T :flip-y T)) as the tilemap.
10:24:59
shinmera
I say might, because I don't know if the file is in grayscale-alpha format or not.
10:25:42
shinmera
I used Kandria's editor for the docs instead.
10:28:05
gingerale
Ah well, I suppose I need to use Kandria's editor at some point then. Having to launch so many unrelated thing to just access it feels like a ton of effort to my brain.
Friday, 3rd of February 2023, 16:37:18 UTC