diff options
author | Andrew Dolgov <[email protected]> | 2019-08-15 13:06:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-15 13:06:56 +0300 |
commit | 3367bfc862095fc64e3d7f7d1b800f258d0e449d (patch) | |
tree | d670925fa2038a501b4c0eaa5910d0ffa1f243f4 | |
parent | e841f6ddcf76c90fd4568b6c17eee8aaa945e763 (diff) |
mention why we don't support alpha in webp output
-rw-r--r-- | init.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ class Af_Zz_Api_Resize extends Plugin { if ($force_stamp || ($imageinfo && $imageinfo["mime"] == "image/gif")) { $need_stamp = true; imageFill($t_im, 0, 0, 0xffffff); + /*} else { -- this might make resized image significantly larger + imagealphablending($t_im, false); + imagesavealpha($t_im, true); */ } imageCopyResampled($t_im, $o_im, 0, 0, 0, 0, |