When doing a repeated resize of an image you might want to consider bugzilla Report #8302. It describes a funny problem in Revlets and stacks that leaks memory when an image is repeatedly resized AND the image was from a JPEG image. No leak if image was a png or if image is still referenced via filename (referenced JPEGs dont leak) regards Bernd
Richard Gaskin wrote: > > Jacque wrote: > >> Richard Gaskin wrote: >>> This is not only cool, but this type of zooming can be instructionally >>> useful: >>> >>> <http://learn.genetics.utah.edu/content/begin/cells/scale/> >>> >>> Anyone here pull off something like that in Rev? >> >> I haven't, but I don't think it would be hard. It's just a >> high-resolution image that is continually scaled. I'd put a scrollbar >> under the image, scripted to reset the scale of the image object, and >> that should do it. If you want smooth scaling, you'd need to continually >> rescale in a loop, in very small increments, until the target scale is >> reached. > > I'm attracted to the idea that it could be easy, but I think in practice > it may be quite harder than it looks. > > For starters, it loads really fast so it's gotta be vector objects > rather than a large scaled bitmap image. > > And given its size when you're zoomed in all the way, it would almost > certainly exceed Rev's 4095-pixel limit on image size (do I have that > limit correct?). > > I think it would require some nifty scaling algorithms, and with Flash > doing this almost automatically and with us needing to do this in > script, I'm having a hard time figuring out how one could do that as > gracefully. > > -- > Richard Gaskin > > -- View this message in context: http://old.nabble.com/Another-%22How-to-do-this-in-a-Revlet-%22-thread-tp26132513p26134508.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
