Hi Daniel,
Thanks for the quick and detailed response.
What I'm trying to do is simple - get the raw image of a given URL.

My class implements imgIDecoderObser, yes. I call LoadImage on an
instance of the class, and  I'm trying to get the image when reaching
OnStopDecode. It works for JPG only, as mentioned.
I'm converting a piece of code from older Mozilla, where we used
gfxIImageFrame::GetImageData.
I will be happy to hear any suggestions.

yakobom
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to