Bug 222150
Summary: | Some JPEG 2000s fail to load in iOS 14.5 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Portis <e> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Critical | CC: | ap, sabouhallawa, smoley, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 14 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 14 |
Eric Portis
Many JPEG 2000 images, which decoded and displayed fine in iOS 14.4, fail to load in iOS 14.5 betas.
I don't have access to a beta versions of Big Sur but I wouldn't be surprised if this affected MacOS too. I'm testing with Simulator Version 12.5 (961).
Steps to reproduce:
Try to load any of the following images:
(generated with OpenJPEG)
https://ericportis.com/etc/jp2_test_files/USA_Pro_Challenge/USA_Pro_Challenge.jp2
https://ericportis.com/etc/jp2_test_files/Snowman_snowman/Snowman_snowman.jp2
https://ericportis.com/etc/jp2_test_files/Zion_narrows/Zion_narrows.jp2
(generated with Cloudinary, which uses Kakadu)
http://o.img.rodeo/w_500/sample.jp2
http://o.img.rodeo/w_500/dogs/5.jp2
http://o.img.rodeo/w_1000,q_auto/dogs/7.jp2
Not all JP2s are affected. This image, exported from Preview.app on MacOS Big Sur, loads successfully:
https://ericportis.com/etc/dog-5.jp2
I am assuming this is the fault of an underlying system framework, and will be closed, as previous image decoding bugs in WebKit have been. I have also submitted FB9010730, about this.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
FWIW, I cannot reproduce this on an iPhone or a Mac. I don't have a working simulator to try at the moment.
Eric Portis
Alexey Proskuryakov #1 what version of iOS and Mobile Safari are you attempting on?
Radar WebKit Bug Importer
<rdar://problem/74770141>
Said Abou-Hallawa
(In reply to Eric Portis from comment #2)
> Alexey Proskuryakov #1 what version of iOS and Mobile Safari are you
> attempting on?
I could not reproduce this bug on iPhone 11 Pro Max with iOS 14.5 beta.
I could not reproduce this bug on iOS simulator Version 12.5 (961.1) and macOS Big Sur 11.3 Beta.
I also noticed that the first link "https://ericportis.com/etc/jp2_test_files/USA_Pro_Challenge/USA_Pro_Challenge.jp2" is currently broken. But I could see the rest of the images on the device and on the simulator.
Said Abou-Hallawa
Correction: the first picture "https://ericportis.com/etc/jp2_test_files/USA_Pro_Challenge/USA_Pro_Challenge.jp2" is not broken. But webkit-bug-importer imported it as "https://ericportis.com/etc/jp2_test_files/USA_Pro_Challenge/USA_Pro_+Challenge.jp2". So I was not able to load it.
Smoley
This does not reproduce for me either on iPhone 12 mini with latest iOS 14.5 beta.
Smoley
I also tested on latest macOS Big Sur 11.3 beta btw. All linked images loaded fine.