- From: Dean Jackson <dean@w3.org>
- Date: Wed, 13 Nov 2002 22:36:41 +1100
- To: Tobias Reif <tobiasreif@pinkjuice.com>
- Cc: www-svg@w3.org
On Wed, 13 Nov 2002, Tobias Reif wrote: > > Chris Lilley wrote: > > > >It seems a rather large task to expect a single raster image DOM, > >independent of format and independent of how the metadata got > >shoehorned into the image file and what schema it uses, to be able to > >get the width (or the photographer, or the focal length). > > > Is it currently possible to get the width of a PNG/JPEG image > (referenced by an image element), eg via ECMA Script? If not, that might > be feasible, and would be useful. This would be very useful, especially for SVG viewers that have not yet implemented the preserveAspectRatio attribute on images. SVG 1.2 (coming soon!) has the mention of a feature such as this. However, even for raster content, it isn't always clear what the width and height are (say JPEG2000). Dean
Received on Wednesday, 13 November 2002 06:36:57 UTC