Closed Bug 129656 Opened 23 years ago Closed 23 years ago

better handling for JPG images with errors

Categories

(Core :: Graphics: ImageLib, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: mozilladev, Assigned: pavlov)

References

Details

Attachments

(2 files)

see attached porn image which doesn't show in Mozilla. It shows in ACDSee and Paint Shop Pro. The image has an error in it. i just thought that Mozilla could be better with images that has errors in them 20020207
As a note, Netscape 4 does not show the image, nor does IE 5.0. GIMP does.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
This is a dup, though I don't know the other bug number offhand. libpr0n doesn't deal gracefully with a decoder returning an error, and flushes the image instead of trying to retain what has decoded so far.
Target Milestone: --- → Future
I'm running Mozilla 1.0 on Windows XP Professional, been running nightly builds of Mozilla since 0.8x... This jpeg error handling problem is severe enough for me to stop using Mozilla completely for now. A number of pages I visit have no displayable images whatsoever (very bad for image-based navigation).
Creating a new profile seems to fix the problem. (My old profile was Mozilla too though, not Communicator, so I'm not sure what went wrong and where.)
Patch in bug 76776 fixes this as a side-effect.
Depends on: 76776
Fixed by bug 76776 checkin.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows; U; Win 9x 4.90; de-AT; rv:1.1a+) Gecko/20020705 I can still see this bug with a different image. The previously attached picture works okay.
Attached image new image that exhibts bug (deleted) —
Cleared cache, loaded image: -> error message. Reloaded: -> error message Curiosity: If I load a URL after the image leaves the error message and then go back to the image, it shows up okay and stays on-screen.
I can see that this bug is fixed in my home build (WinXP Pro 2002070602) Bernd: I have no problem loading or reloading your "new image"
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: