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 25640 - createImageBitmap() options: source dimensions
Summary: createImageBitmap() options: source dimensions
Status: RESOLVED MOVED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on: 25639
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-09 21:17 UTC by Ian 'Hixie' Hickson
Modified: 2016-03-16 14:18 UTC (History)
2 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2014-05-09 21:17:00 UTC
This bug proposes the following new options for createImageBitmap()'s configuration dictionary (as proposed in bug 25639):

  double sourceX = 0 // change the origin of the extracted image in the source
  double sourceY = 0 // change the origin of the extracted image in the source
  double? sourceW = null // the width of the extracted image in the source
  double? sourceH = null // the height of the extracted image in the source