This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21329 - createImageBitmap() references the ImageData object's pixel density, which is currently undefined. We should probably have getImageData() and createImageData() create ImageData objects with 1dpppx den [...]
Summary: createImageBitmap() references the ImageData object's pixel density, which is...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 23:58 UTC by contributor
Modified: 2013-04-23 18:32 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-03-18 23:58:08 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#images
Complete: http://www.whatwg.org/c#images

Comment:
createImageBitmap() references the ImageData object's pixel density, which is
currently undefined. We should probably have getImageData() and
createImageData() create ImageData objects with 1dpppx density, and
getImageDataHD() and createImageDataHD() create ImageData objects with the
canvas' native density, and that density should be propagated through
postMessage(), etc.

Posted from: 2620:0:1000:147d:4187:c12:f129:ec1f by ian@hixie.ch
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.33 (KHTML, like Gecko) Chrome/27.0.1438.7 Safari/537.33
Comment 1 contributor 2013-04-23 18:32:14 UTC
Checked in as WHATWG revision r7849.
Check-in comment: ImageData objects now expose an explicit pixel density, enabling them to be converted to BitmapImage objects correctly.
http://html5.org/tools/web-apps-tracker?from=7848&to=7849