WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#36684 reviewing defect (bug)

Image crunched does not render in Microsoft Edge/IE/Windows Photos

Reported by: lxxiii Owned by: markoheijnen
Milestone: Priority: normal
Severity: normal Version: 4.5
Component: Media Keywords:
Focuses: Cc:
PR Number:

Description

A large JPG uploaded via Media in WPAdmin is processed into various sizes. The original renders in Windows 10 Pro Edge/IE/Photos. The processed images do not render. Processed images do render in Chrome and Firefox. Converting the large JPG to PNG using Photoshop and uploading results in processed images that do render in Edge/IE/Photos.

This independent from Ticket 36534, the Imagick thread issue, which I also encountered on my Web hosting virtual private server. The .htaccess thread count line fixed my HTTP Error image upload issue. 4.5.2 is slated to contain that fix.

I first noticed this non-rendering issue in 4.5; no change with 4.5.1. I was on 4.5 before I ever encountered the image in question.

This non-rendering image has been discussed with a developer on the Edge team. It has been formally submitted to Windows Feedback, too. Is it specific to this one file? Is it an Edge/IE issue? I can't tell. Other processed JPGs do render in Edge/IE/Photos.

Original uploaded through Media still renders in Edge:
https://zulu.international/media/WRN_Ambassador_logo.jpg

Processed 300x228 does not render in Edge:
https://zulu.international/media/WRN_Ambassador_logo-300x228.jpg

Downloading the 300x228 and opening it in Windows Photos does not work, either.

Original file has been attached for reference.

(The source JPG image is from NOAA, and contains a trademarked image; it is used with permission on my site. I do conceded that it may be an image conflict, and not necessarily a bug in WordPress. However, it is WordPress processing that creates the non-rendering image.)

With WP 4.5, it was announced that image processing was enhanced, so it leads me to believe something with this JPG file is incompatible with the changes. I simply cannot determine if it's just this one file, or a symptom of a larger problem.

For comparison, here is an original JPG I created in Photoshop, uploaded via Media, which renders in Edge:
https://zulu.international/media/arrl-wx0zzz.jpg

This is the WordPress processed 300x300, which also DOES render in Edge:
https://zulu.international/media/arrl-wx0zzz-300x300.jpg

Better safe than sorry to expose a potential bug and have this ticket closed, than to let it go unnoticed.

Attachments (1)

WRN_Ambassador_logo.jpg (1.2 MB) - added by lxxiii 3 years ago.
Original source of WRN_Ambassador_logo.jpg (Image Trademarked by NOAA! Used with permission.)

Download all attachments as: .zip

Change History (7)

@lxxiii
3 years ago

Original source of WRN_Ambassador_logo.jpg (Image Trademarked by NOAA! Used with permission.)

#1 @lxxiii
3 years ago

HEY! I have a WordPress 4.4.2 install that I just uploaded this large JPG to. It uploads and is processed.

The 300x228 processed image from 4.4.2 DOES render in Edge:
http://www.climategen.org/wp-content/uploads/WRN_Ambassador_logo-300x228.jpg

#2 @lxxiii
3 years ago

Some newly discovered info:

The original JPG is CMYK. 1.16MB. 3019x2294.

The 4.4.2 processed JPG is RGB. This 300x228 JPG is 17KB.

The 4.5 processed JPG is CMYK. This 300x228 JPG is 588KB!

Is 4.5 now retaining CMYK for a reason? Does Edge not support CMYK JPGs? Just some thoughts and perspective...

This ticket was mentioned in Slack in #core-images by joemcgill. View the logs.


3 years ago

#4 @joemcgill
3 years ago

  • Owner set to markoheijnen
  • Status changed from new to reviewing

#5 @zuluintl
3 years ago

Hi. I legally changed my business name. lxxiii is now zuluintl; I'll be monitoring and responding to any inquiries from this account now. Thanks for reviewing.

This ticket was mentioned in Slack in #core-images by mike. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.