This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
If you're using an ImageBitmap to pan and zoom around an original image, it might be helpful to know the original dimensions and what part of the original image you are currently looking at. Maybe: readonly attribute unsigned long originalFullWidth; readonly attribute unsigned long originalFullHeight; readonly attribute double originalSourceX; readonly attribute double originalSourceY; readonly attribute double originalSourceWidth; readonly attribute double originalSourceHeight;
Another option, rather than exposing the originalSource* members, is to expose the actual dictionary that was used to configure the object, as passed to the constructor. As in: readonly attribute ImageBitmapSettings settings; ...or some such. (Not sure if dictionaries can be exposed in this way.)
Do we really need this? Isn't it trivial to set-up a promise resolve handler that adds these attributes to the ImageBitmap?
For background, search for "4)" in: http://lists.w3.org/Archives/Public/public-whatwg-archive/2014May/0069.html This would obviously only be a convenience API, yes.
Resolving WONTFIX due to lack of implementer interest.