[Webkit-unassigned] [Bug 133570] New: Safari on iOS7.0 can't scale images with drawImage taken with it's own camera

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 6 01:34:31 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133570

           Summary: Safari on iOS7.0 can't scale images with drawImage
                    taken with it's own camera
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: iOS
               URL: http://greggman.com/downloads/examples/webkit-photo-is
                    sue/webkit-photo-issue.html
        OS/Version: iOS 7.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gman at chromium.org
                CC: dino at apple.com


An photo taken with an iPhone can not be manipulated in iOS Safari

Run the sample above, it will take a while to download the image because it's 3meg or so. The image is scaled from it's full size 3kx2k as taken directly from the iPhone, it is drawn into a 256x256 canvas using a destination scale. What it draws is incorrect.

Works on desktop Safari, Chrome and Android Chrome

I'm going to guess it's a size issue since trying smaller images works. See

http://greggman.com/downloads/examples/webkit-photo-issue/webkit-photo-issue-3.html

The problem is I'm using the <input type="file" accept="image/*"> to allow a web page to use an image the user takes or selects. The fact that I can't then actually use that image in a webpage with the canvas API seems like some limits need to be bumped up?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list