Hello,
I am loading an image with imgILoader::loadImage() that will be printed. The image has not been loaded before and therefore is not cached. So I need to wait for the image to be completely loaded before I print.
However using a loop with PR_sleep() and checking if the image is finished loading does not work, imgIRequest always returns STATUS_NONE.
Any ideas why this happens? Is there a way to load the image completely right before painting it in the RenderingContext?
Thanks, Rene _______________________________________________ mozilla-layout mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-layout
