In out XPCOM component we need to get image physical size (in bytes).
We do it by getting images from Firefox CACHE, but for some unknown reason
- Firefox doesn't cache images from HTTPS sites.
Is there any way to make https images cached?
Or how to get their physical size?
P.S. thnx for Your attention.
With Best Regards,
Anatoly Kaverin,
Firefox VEngine team
Comodo CA Limited
http://www.vengine.com http://www.comodo.com
a.ka...@gmail.com
MSN: tol...@hotmail.com
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.
F'up set to netscape.public.mozilla.xpcom
Daniel