Page 1 of 1

Drawing into a loaded image

Posted: Sun Oct 25, 2009 12:58 am
by ukimiku
I would like to draw a couple of black lines into an image I loaded in a RunRev script. This image is displayed in an Image Area on a card.

1) How can I set points/draw lines/shapes into this image?
I want the change only on-screen, not in the file displayed.

Thanks!

Posted: Sun Oct 25, 2009 12:27 pm
by Janschenkel
It will probably be easiest to layer graphic controls on top of the image. If you need to write out the combination of the image and the graphics, you can always group them and export a snapshot of the group.

Jan Schenkel.

Posted: Sun Oct 25, 2009 1:52 pm
by ukimiku
Jan,

thanks, understood. In fact, I will need to group the painted image and the overlaid graphics controls as I must extract rectangular portions of the combined image afterwards.

Sorry, I forgot to pose one question concerning the painted image (only, not the graphics controls): is there a way in RunRev to adjust brightness and contrast of the loaded image?

Thank you!

Regards

Posted: Sun Oct 25, 2009 4:36 pm
by hliljegren
AFAIK it's not possible to do that directly in Revolution. But there is a tutorial about how you can implement it as an external here

Posted: Sun Oct 25, 2009 9:48 pm
by ukimiku
Thanks. I'll have a look. Looks a bit complicated at first glance, though.
Regards,

Posted: Mon Oct 26, 2009 3:36 am
by mwieder
But check out the blend property of an image to see if that will get you what you want, i.e.,

Code: Select all

set the blendlevel of image 1 to 50

Posted: Mon Oct 26, 2009 8:36 pm
by ukimiku
Thanks mwieder,

that was one of my ideas also. Unfortunately the image doesn't lose enough contrast this way. It seems I will have to work out my own brightness and contrast routine, which of course will be fun, too. I plan to do that as a RunRev function, not as an external. Let's see about the speed. The program is a puzzle for my little daughter, and she's quite patient... :)

Regards,