1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00
discomrade a752a3930c
Fix custom thumb_ext for ImageMagick convert
When using ImageMagick's convert tool, the output defaults to the input format if no file extension or format is specified.
The temp file currently has no extension, so a $config['thumb_ext'] value has no effect on the image.
By appending the thumb_ext to the temp output file, it will convert the image to the intended format.

You can see this issue present on lainchan, where thumbnails have a .png filename but are not really PNG files when the input is a .jpg, for example.
2021-06-23 11:52:29 +00:00
..
2017-04-24 11:41:49 +02:00
2018-05-10 17:33:07 +08:00
2021-02-13 19:24:03 +01:00
2021-03-12 21:51:42 +01:00
2021-03-12 21:51:42 +01:00
2021-02-13 21:14:06 +01:00
2016-05-06 16:39:20 +02:00
2021-02-13 19:24:03 +01:00
2015-04-06 22:51:02 +02:00
2021-03-12 21:52:37 +01:00
2016-05-05 07:51:55 +02:00
2021-02-13 19:24:03 +01:00