admin管理员组文章数量:1410730
So I am using Docker for my local environment and uploading high-res RGB images to this.
Using <?php phpinfo(); ?>
I can see my local environment is running Imagick.
Everything looks great on local dev.
After uploading the same images to my staging environment on the server. The colour is totally zapped from the images.
I ran phpinfo();
on the server and it's running GD for the image processing library.
Now the issue we have with running Imagick on the server is that it runs across all wordpress installs on the server.
The results of running Imagick is that it was spanking memory consumption and causing uploads to stall and fail. Especially for larger images and bigger batch uploads.
Reverting to GD solves these problems but then we're experiencing zapped color results as show above.
Here is a example image below used in the example above:
/red-calipers-with-discs.jpg
Dimensions: 6000px x 4000px
RGB Color Profile: sRGB ICE61966-2.1
This is 1 of a 1000 images the client is going to be uploading.
Is there any kind of solution for this because telling the client that they need to change image colour profiles or save for web is not ideal.
Any thoughts would be appreciated thanks.
本文标签: Imagick vs GD colour issues on image uploads
版权声明:本文标题:Imagick vs GD colour issues on image uploads 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744927461a2632688.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论