Opened 13 years ago
Closed 13 years ago
#6795 closed defect (wontfix)
Images drawn differently in Firefox and IE7
Reported by: | guest | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | DojoX GFX | Version: | 1.1.0 |
Keywords: | createImage browser difference IE7 Firefox | Cc: | |
Blocked By: | Blocking: |
Description
I have two adjacent divs of size 350 x 350. In one, I draw a 256 x 256 image, and it is automatically stretched to fill the 350 x 350 box in both IE7 and Firefox 2.0.0.14.
var img = iSurface2.createImage({width: 350, height: 350, src: fileName});
However, in the second div, I draw an image with is 256(x) x 34(y).
In Firefox, it is drawn as 350 by about 34, but in IE7, it is stretched vertically to fill the box: 350 x 350. Both are JPEG images.
Attachments (2)
Change History (6)
Changed 13 years ago by
Attachment: | image19.jpg added |
---|
comment:1 Changed 13 years ago by
Component: | General → DojoX GFX |
---|---|
Owner: | changed from anonymous to Eugene Lazutkin |
Looks like this is about gfx.
comment:2 Changed 13 years ago by
Milestone: | → tbd |
---|
mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"
comment:4 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Don't use the image size to stretch, scale, or otherwise a geometry of the image. Set the size to be equal the real pixel size, and use transformations to transform the image.
I know it is a pain to specify the size, but unfortunately there is no other way to do it in the compatible fashion.
brain images