Bug 192807 - An unexpected 1px line appears when using context.drawImage() method to show a specified part of a JPEG file
Summary: An unexpected 1px line appears when using context.drawImage() method to show ...
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad iOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-12-18 00:10 PST by nishiyama.satomi
Modified: 2019-01-10 14:00 PST (History)
6 users (show)

See Also:


Attachments
an unexpected 1px red line on a JPEG file. (73.11 KB, image/png)
2018-12-18 00:10 PST, nishiyama.satomi
no flags Details
a html file used for this test. (1.04 KB, text/html)
2018-12-18 00:13 PST, nishiyama.satomi
no flags Details
test files (4.44 KB, application/x-zip-compressed)
2018-12-18 00:18 PST, nishiyama.satomi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nishiyama.satomi 2018-12-18 00:10:18 PST
Created attachment 357545 [details]
an unexpected 1px red line on 
a JPEG file.

Hello,

I found an issue with JPEG drawing on iOS 12 devices.
An unexpected 1px line appears on a image when I use context.drawImage() method of html to show a specified part of a JPEG file.
It doesn't occur when using iOS12 simulators or iOS11 devices.

[Steps to reproduce the problem]
1. Open 'index.html' on Safari using iPhone/iPad on iOS12.
  This html file shows a specified part of each following file.
       'test.jpg',
       'test.png',
       'test.jp2',
       'test.gif'
2. An unexpected 1px red line appears on 'test.jpg' image. No problems with the other files, though.

[What is the expected behavior?]
No unexpected lines appear on a JPEG image like the other file formats ( : png, jp2, gif).

[What went wrong?]
An unexpected 1px red line appears on a JPEG image.

[Is it a problem with a plugin?]
N/A

[Did this work before?]
N/A

[Does this work in other browsers?]
Yes

Thank you.
Comment 1 nishiyama.satomi 2018-12-18 00:13:15 PST
Created attachment 357546 [details]
a html file used for this test.
Comment 2 nishiyama.satomi 2018-12-18 00:18:58 PST
Created attachment 357548 [details]
test files
Comment 3 Radar WebKit Bug Importer 2018-12-23 17:43:54 PST
<rdar://problem/46926648>
Comment 4 Simon Fraser (smfr) 2019-01-02 11:21:45 PST
This appears to be a bug in the underlying graphics framework, not WebKit.
Comment 5 Simon Fraser (smfr) 2019-01-10 14:00:20 PST
This will be fixed in a future iOS version.