Closed Bug 64096 Opened 25 years ago Closed 24 years ago

[RFE] Need a way to get the mime type from an imgIRequest

Categories

(Core :: Graphics: ImageLib, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.6

People

(Reporter: attinasi, Assigned: pavlov)

Details

Attachments

(1 file)

We currently have no way of knowing what the type of an image is in layout. We need this to display in the title bar when an image is displayed (like Nav4 does it). I'd like to be able to get the type, as a localized string, from the nsIImage interface. (Please see bug 47891)
reassigning
Assignee: pnunn → pavlov
Target Milestone: --- → Future
Whiteboard: [imagelib]
changing the summary around a little bit.. hope thats ok. :) patch coming.
Status: NEW → ASSIGNED
Summary: [RFE] Requesting that the original image type be available through nsIImage interface → [RFE] Need a way to get the mime type from an imgIRequest
Whiteboard: [imagelib]
Target Milestone: Future → mozilla0.9.6
Remove the (now) redundant #include you added and r=jag.
sr=hyatt
added GetMimeType to imgIRequest.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: