Closed Bug 502711 Opened 16 years ago Closed 16 years ago

imgITools cannot decode images stored in JARs

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: robarnold, Assigned: robarnold)

References

Details

Attachments

(1 file)

Attached patch v1.0Splinter Review
This is because JARStreams are not buffered. imgITools should make a buffered stream if one is required rather than rewriting each decoder to handle non-buffered streams.
Attachment #387060 - Flags: review?(joe)
Comment on attachment 387060 [details] [diff] [review] v1.0 Nothing catastrophic happens if NS_NewBufferedInputStream fails and inStream isn't set to a buffered stream, right? The images just fail to decode?
Attachment #387060 - Flags: review?(joe) → review+
Right. We'll just fall back to the old code which will fail in the same place and way it already does.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → tellrob
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: