Search found 3 matches

by zanderwar
2019-01-18T18:05:58-07:00
Forum: IMagick
Topic: Imagick composite produces a significantly larger output filesize
Replies: 4
Views: 90272

Re: Imagick composite produces a significantly larger output filesize

Thanks guys, turns out PNG32 was fine after some posterization and despeckling. Sitting on 124KB after using a HD flower for testing purposes.

Image
by zanderwar
2019-01-17T23:11:50-07:00
Forum: IMagick
Topic: Imagick composite produces a significantly larger output filesize
Replies: 4
Views: 90272

Re: Imagick composite produces a significantly larger output filesize

You have converted from palette alpha to tricolor alpha. The latter is 32-bit, while the former is 8-bit. If you want to reduce size, then add PNG8: to your result to get palette alpha as the output. $outputLocation = 'PNG8:output.png' Thank you very much, this got it down to 23.33K, however the ...
by zanderwar
2019-01-17T22:25:04-07:00
Forum: IMagick
Topic: Imagick composite produces a significantly larger output filesize
Replies: 4
Views: 90272

Imagick composite produces a significantly larger output filesize

I've spent several hours trying to discover how after Imagick composes an image atop of another that `7.97KB + 98.39KB = 725.49KB`, when you'd expect 1/8th of that. $outputLocation = 'output.png'; $mask = new \Imagick('mask.png'); $overlay = new \Imagick('overlay.png'); $overlay->resizeImage(800 ...