admin管理员组文章数量:1022769
When I upload an image to my media gallery, all the image sizes that are generated are discolored. Here's an example.
This is the full-size image:
And now here is one of the smaller image sizes:
See the difference? The blue picture on the wall is now teal green, and the whole image has a blueish hue to it. I've tried the following things. None of these worked:
- Regenerate Thumbnails Plugin (Overwriting them)
- Deleting all generated images then running Regenerate Thumbnails (This creates fresh thumbnail files)
- Uploading a brand new photo and attaching it to a post.
- Adding the WP filter that forces full quality compression.
add_filter('jpeg_quality', function($arg){return 100;});
However, when I upload just a random JPG from the internet, the thumbnails made from that image are fine! What could be going on with this specific set of jpgs that messes up the compression?
When I upload an image to my media gallery, all the image sizes that are generated are discolored. Here's an example.
This is the full-size image:
And now here is one of the smaller image sizes:
See the difference? The blue picture on the wall is now teal green, and the whole image has a blueish hue to it. I've tried the following things. None of these worked:
- Regenerate Thumbnails Plugin (Overwriting them)
- Deleting all generated images then running Regenerate Thumbnails (This creates fresh thumbnail files)
- Uploading a brand new photo and attaching it to a post.
- Adding the WP filter that forces full quality compression.
add_filter('jpeg_quality', function($arg){return 100;});
However, when I upload just a random JPG from the internet, the thumbnails made from that image are fine! What could be going on with this specific set of jpgs that messes up the compression?
Share Improve this question edited Apr 23, 2019 at 20:15 RiddleMeThis 3,8078 gold badges22 silver badges30 bronze badges asked Apr 23, 2019 at 19:35 Matthew KayeMatthew Kaye 1578 bronze badges 01 Answer
Reset to default 2That is a huge difference!
I think this is your issue...
Any time an image is uploaded, if that image was saved in the Adobe RGB color space, then the image does not get loaded correctly for resizing. Thumbnails are saved in the default color space, which is sRGB. By failing to perform the color conversion, and then failing to specify the non-default color space in EXIF, thumbnails are produced with colors that are noticeably different from the original.
Try converting your images to use sRGB, re-saving and re-uploading them.
Reference - https://graphpaperpress/tips/fix-image-color-saturation-loss-in-wordpress/
When I upload an image to my media gallery, all the image sizes that are generated are discolored. Here's an example.
This is the full-size image:
And now here is one of the smaller image sizes:
See the difference? The blue picture on the wall is now teal green, and the whole image has a blueish hue to it. I've tried the following things. None of these worked:
- Regenerate Thumbnails Plugin (Overwriting them)
- Deleting all generated images then running Regenerate Thumbnails (This creates fresh thumbnail files)
- Uploading a brand new photo and attaching it to a post.
- Adding the WP filter that forces full quality compression.
add_filter('jpeg_quality', function($arg){return 100;});
However, when I upload just a random JPG from the internet, the thumbnails made from that image are fine! What could be going on with this specific set of jpgs that messes up the compression?
When I upload an image to my media gallery, all the image sizes that are generated are discolored. Here's an example.
This is the full-size image:
And now here is one of the smaller image sizes:
See the difference? The blue picture on the wall is now teal green, and the whole image has a blueish hue to it. I've tried the following things. None of these worked:
- Regenerate Thumbnails Plugin (Overwriting them)
- Deleting all generated images then running Regenerate Thumbnails (This creates fresh thumbnail files)
- Uploading a brand new photo and attaching it to a post.
- Adding the WP filter that forces full quality compression.
add_filter('jpeg_quality', function($arg){return 100;});
However, when I upload just a random JPG from the internet, the thumbnails made from that image are fine! What could be going on with this specific set of jpgs that messes up the compression?
Share Improve this question edited Apr 23, 2019 at 20:15 RiddleMeThis 3,8078 gold badges22 silver badges30 bronze badges asked Apr 23, 2019 at 19:35 Matthew KayeMatthew Kaye 1578 bronze badges 01 Answer
Reset to default 2That is a huge difference!
I think this is your issue...
Any time an image is uploaded, if that image was saved in the Adobe RGB color space, then the image does not get loaded correctly for resizing. Thumbnails are saved in the default color space, which is sRGB. By failing to perform the color conversion, and then failing to specify the non-default color space in EXIF, thumbnails are produced with colors that are noticeably different from the original.
Try converting your images to use sRGB, re-saving and re-uploading them.
Reference - https://graphpaperpress/tips/fix-image-color-saturation-loss-in-wordpress/
本文标签: Media Gallery Upload Thumbnail Compression is Changing Image Hue
版权声明:本文标题:Media Gallery Upload Thumbnail Compression is Changing Image Hue 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745561829a2156207.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论