Hello!
Users of my imageboard ask me to make transparent thumbnails for *.png-files. But I have no idea how to realize it.
Could I have some help with that?
Oh, yes, I use Wakaba.
I believe, I should add a command here:
use constant CONVERT_COMMAND => 'convert'; # location of the ImageMagick convert command (usually just 'convert', but sometime a full path is needed)
But I don't know which exactly.
Version: ImageMagick 6.5.7-8 2012-04-30 Q16
find the line that says:
my $thumbnail=THUMB_DIR.$filebase."s.jpg";
change it to:
my $thumbnail=THUMB_DIR.$filebase."s.$ext";
I made this, now thumbnails are *.png, but they are still not transparent.
Solved.
-background white must be -background transparent