Can someone point me in the right direction regarding scaling images - - - my goal is to pull in a JPEG image from an URL and display it in a smaller size on the screen, no matter what the original size - - - yet preserve it's aspect ratio.

As an example, let's say I have a 400x300 JPEG image, and I'd like to pull it in with Revolution and display it with a width of 120 pixels.  The next image that comes in might be 400x150, and I'd also like to display it so that it's width is 120 pixels.  (preserving the aspect ratio - - - limiting by width).  I've got a method working now that doesn't do this, where I import the URL into a rectangle that has it's height & width locked.  This almost works, except that the height is trapped as the height of the rectangle instead of the aspect ratio of the original image.  Do I need to have Rev somehow read the height & width from the file before displaying, or is there a more automatic way?
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to