Bug 154149 - JPEG has random/garbled data for last few columns
Summary: JPEG has random/garbled data for last few columns
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-02-11 18:59 PST by Ricci Adams
Modified: 2016-02-13 14:56 PST (History)
0 users

See Also:


Attachments
Image which decodes improperly on my iMac. (44.76 KB, application/zip)
2016-02-11 18:59 PST, Ricci Adams
no flags Details
Video of me reloading the image in question. Notice the far-right column of pixels. (2.19 MB, video/quicktime)
2016-02-11 19:00 PST, Ricci Adams
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricci Adams 2016-02-11 18:59:16 PST
When I load the attached JPEG in Safari 9.0.3 (or WebKit nightly) on my iMac, the last few columns of pixels decode incorrectly.  This only occurs on my iMac (Retina 5K, 27-inch, Late 2014) running 10.11.3.  It does not occur on any other device that I own (I tested multiple iOS devices, my MacBook Pro, and my housemate's iMacs).

Attached is a movie of me reloading the JPEG in question.  Notice that the last column changes randomly.

Other JPEGs do not exhibit this behavior, it may only occur when the width is 666 pixels and the color space is Grayscale.  I vaguely recall running all of my images through an optimizer, so it's possible that the JPEG itself is invalid (I still wanted to file, however, in case this is exposing a memory issue in the decoder).
Comment 1 Ricci Adams 2016-02-11 18:59:42 PST
Created attachment 271118 [details]
Image which decodes improperly on my iMac.
Comment 2 Ricci Adams 2016-02-11 19:00:10 PST
Created attachment 271120 [details]
Video of me reloading the image in question.  Notice the far-right column of pixels.
Comment 3 Ricci Adams 2016-02-11 19:04:57 PST
Note: Image is fine in Chrome, Firefox, Quicklook, Finder, Preview, Photoshop, and Mail.
Comment 4 Alexey Proskuryakov 2016-02-13 14:49:46 PST
<rdar://problem/24644825>
Comment 5 Alexey Proskuryakov 2016-02-13 14:56:11 PST
Thank you for the report! Since it's hardware specific, I think that this is an issue below WebKit (even though it doesn't reproduce in Preview).

The problem will be tracked internally by Apple.