WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
222150
Some JPEG 2000s fail to load in iOS 14.5
https://bugs.webkit.org/show_bug.cgi?id=222150
Summary
Some JPEG 2000s fail to load in iOS 14.5
Eric Portis
Reported
2021-02-18 17:57:22 PST
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
Comment 1
2021-02-19 22:34:39 PST
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
Comment 2
2021-02-20 09:04:01 PST
Alexey Proskuryakov #1 what version of iOS and Mobile Safari are you attempting on?
Radar WebKit Bug Importer
Comment 3
2021-02-25 17:58:12 PST
<
rdar://problem/74770141
>
Said Abou-Hallawa
Comment 4
2021-03-10 21:24:02 PST
(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
Comment 5
2021-03-10 22:48:24 PST
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
Comment 6
2021-03-11 10:20:06 PST
This does not reproduce for me either on iPhone 12 mini with latest iOS 14.5 beta.
Smoley
Comment 7
2021-03-11 10:24:19 PST
I also tested on latest macOS Big Sur 11.3 beta btw. All linked images loaded fine.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug