Closed
Bug 309173
Opened 19 years ago
Closed 19 years ago
raster images are incorrectly scaled when included into a SVG graphics
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: martin.hejral, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050912 Firefox/1.6a1 raster images are incorrectly scaled when included into a SVG graphics - i.e. resampling of bitmaps do NOT work in Mozilla SVG Reproducible: Always Steps to Reproduce: please copy SVG+PNG from attachments to local disk and open MINIMAL TEST CASE SVG file Actual Results: UNSCALED image
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
I can also confirm this bug. Here is another test case: http://www.carto.net/neumann/temp/imagescaling_test.svg the same image is embedded three times and the width and height attributes always set such that it should scale the image unproportional. However, the image is always scaled proportional ;-( Andreas
Comment 4•19 years ago
|
||
This behaviour is according to spec. The default value of the preserveAspectRatio attribute is 'xMidYMid meet', so if you don't want to preserve the aspect ratio you have to specify preserveAspectRatio="none". Here's your testcase with it added to demonstrate. Thanks for the small testcase in the first place. They're always much appreciated, but unfortunately this bug is invalid. -> INVALID
Attachment #196664 -
Attachment is obsolete: true
Updated•19 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Comment 5•19 years ago
|
||
I apologize for being misinformed. I read it in the spec and I think you and Mozilla/Batik are right and ASV/Opera are wrong. Will have to forward the bug to them. Thanks for clarification and all the best, Andreas
You need to log in
before you can comment on or make changes to this bug.
Description
•