Theodore Casser
Code Poet
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Theodore Casser
Code Poet
"I'm not back." - Bill Harding, Twister
Theodore Casser
Code Poet
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
I've found that using an observer just really slows the page massively down
Well yes, that's the point. You were using an API which requires time to process. If you ignore the ImageObserver, you're basically not waiting to see if that processing is completed. Naturally this makes things faster, but the disadvantage is that some of your images aren't complete.![]()
So I just gave the simplest fix I could see. Certainly since you can use imageio now, that's going to be preferable; I just wanted to clarify what was probably going on in your original code.
Theodore Casser
Code Poet
Theodore Casser
Code Poet