Closed Bug 266028 Opened 20 years ago Closed 19 years ago

Resized animated gifs displayed strangely (distorted)

Categories

(Core Graveyard :: Image: Painting, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: kir, Assigned: pavlov)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040930 Firefox/0.10.1 (MOOX M2)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040930 Firefox/0.10.1 (MOOX M2)

The attached image demonstrates the described behaviour. Its size is incorrectly
detected as 68x68 pixels, but correct values are 67x66 pixes. In addition, when
it is placed to the web page with the correct attributes WIDTH and HEIGHT  (i.e.
<img src="source_name" width="67" height="66"/> tag) specified, Firefox displays
some frames as distorted.

Reproducible: Always
Steps to Reproduce:
Open image in Firefox and see properties of image.
Actual Results:  
Some frames of image are distorted

Expected Results:  
Display frames correctly

1. Linux version (at least Debian/unstable build) doesn't contain this bug

2. To see the bug in action (distorted frames when correct image size is
specified in the HTML) you may use this link:
http://www.livejournal.com/users/skx/ and verify the user picture at the left of
page.
We're detecting the size of the image correctly, we're just displaying it
strangely. 

I've searched for dupes, but haven't found any--odd, since I've been seeing this
for years. 
Component: General → Image: GFX
Product: Firefox → Browser
Summary: Size of animated GIF image is detected incorrectly and displayed distorted under certain circumstances → Resized animated gifs displayed strangely (distorted)
Whiteboard: DUPEME
Version: unspecified → Trunk
(In reply to comment #2)
> We're detecting the size of the image correctly, we're just displaying it
> strangely. 

Hmm.. It's strange - I've checked the size using 'IrfanView' tools and it
reported that size is 67x66 pixels. After your post I've rechecked the size
using  'file' and 'GIMP' tools - seems that you are right and the size of image
is 68x68 pixels.
 
I suppose this may be a broken GIF image, resizing of which confuses some GFX
libraries. 

> I've searched for dupes, but haven't found any--odd, since I've been 
> seeing this for years. 

Finally agreed - this is a rescaling bug. Image size is correct. 
dolphinling, you need to reassign the bug when changing components...
Assignee: firefox → pavlov
QA Contact: firefox.general
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Product: Core → Core Graveyard
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: