Conversion fail – size rounding error? | Bug on 2.6
-
I’m having an issue with retina file generation in 2.6. If I attach an image 2000×1333 if fails for my largest size (1000pixel wide, therefore half the size, so height would be 666.5>667):
2015-02-03 10:56:52: ** RETINA INFO FOR ATTACHMENT '2015/02/Laguna-de-los-tres.jpg' ** 2015-02-03 10:56:52: - Original: Laguna-de-los-tres.jpg 2015-02-03 10:56:53: - thumbnail: /wp-content/uploads/2015/02/Laguna-de-los-tres-200x200.jpg -> /wp-content/uploads/2015/02/[email protected] => RESIZE 2015-02-03 10:56:53: - medium: /wp-content/uploads/2015/02/Laguna-de-los-tres-500x333.jpg -> /wp-content/uploads/2015/02/[email protected] => RESIZE 2015-02-03 10:56:53: - large: /wp-content/uploads/2015/02/Laguna-de-los-tres-1000x667.jpg -> /wp-content/uploads/2015/02/[email protected] => FAILThe 1000×667 is generated ok, but it fails on 1000×667@2x. This did not happen before v2.6, as I have used this aspect ratio frequently before.
If I crop the original image to 2000×1330, then it generates both a 1000×665 and 1000×665@2x perfectly. So maybe it’s related to the rounding of the 0.5 pixel?
Thanks
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Conversion fail – size rounding error? | Bug on 2.6’ is closed to new replies.