Daniel Kirsch wrote:
Load the grafic and check for it's width and height values. Mozilla also
offers the properties naturalWidth and naturalHeight which always
represents the images original size, no matter how they are displayed.
I think the question was about the size on disk, not the dimensions...
I'd try the memory cache instead of the disk cache for SSL pages. But
maybe the easier way would be to make another request for the image URL
and check nsIChannel.contentLength.
Fixing followup-to, this has nothing to do with xpcom itself.
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom