Recently, "Jim MacConnell"  wrote:

> I have an image �FullSize� that is 600 pixels wide by 300 tall
> I have a small version �ThumbSize� that is 100 by 50 (made by putting
> �FullSize� into it and shrinking)
> I referenced the �ThumbSize� in a field using imageSource
> I click on the table and put a copy of the appropriate image in a preview
> image �PhotoPreview� (about 240 x 120)
> 
> 
> Now the fun... 
> I select a folder and it loads �Fullsize�, creates �Thumbsize�, puts it in
> the field and hides the originals. I click on �ThumbSize� in the field to
> select the image and it loads into �PhotoPreview�. I now want to rotate the
> image by clicking on a �Rotate� button. For each click, I want to see the
> �PhotoPreview� image rotate clockwise 90 degrees. When it�s in the right
> orientation I want to set the �Fullsize� and the �Thumbsize� to the correct
> orientation.
> 
> So what have I tried....
> 1. Using Rotate by �90 screws up the image so it looks awful (right side
> contains fuzz?).. And it gets worse and worse as I continue rotating... NG
> 2. Using �set the angle of �PhotoPreview� to x� makes the rotation clean but
> when I try to apply the �set angle to� to  �Thumbsize�, the image in the
> field (imageSource) goes large and I can�t get it resized.......
> 3. Using lockLocation to keep the image from resizing but.... Then when I
> �set the angle� of it , the image is all stretched out so I have to adjust
> width, etc.

An interesting graphics problem.  I can't recall if there's any way to get a
reduced image into another image other than a screen capture (snapshot).
It's probably not optimal, but you might be able to find some way to use the
example posted below.  Type the following in your message box:

 go url "http://www.tactilemedia.com/download/imgRotate.rev";

This relies on being able to capture the screen, so you cannot hide the
reduced fullsize image, and I'm pretty sure you can't position the fullsize
image offscreen or the capture will fail (try some tests to be sure).

Without knowing your situation, I'd guess one way to do what you want might
be to build a set of thumbnails at startup, and rotate (set the angle) of
those only.  Then apply your rotation to fullsize image/s afterward.

Someone else might be able to offer another suggestion.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to