Hi Alejandro,

I'd make a list of all the properties you want to transfer from one image to the next and use a repeat loop like this:

put "rect,ink,blendlevel" into myList
repeat for each item myProp in myList
  repeat with x = 2 to (number of images)
    do "set the" && myProp && "of img" && x && \
    "to the" && myProp && "of img 1"
  end repeat
end repeat

If the images are really equal, you should not use image objects. Make one image and many buttons. Set the icon of the buttons to the id number of the image. This way, you can re-use the same image many times without using much more memory.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.economy-x-talk.com


Op 1-nov-2007, om 1:31 heeft capellan het volgende geschreven:


Hi all,

Recently i was creating a simple stack image library utility
to reuse images multiple times in a stack.

The result is unworthy to post in this mail list, but
it opened many questions:

How could i recreate the changes in dimensions, ink-effects
rotations, flipping, etc for all the images used in a card,
taken from a library stack?

For example, Xara X1 has a “zero-memory footprint”
approach in which each new image copy requires
no additional memory or file space. Every transformation
to any image is redraw at runtime, so Xara X1 just keep one
original image and in every instance where the image appears,
it is transformed starting from the single untouched original image.
One single image reused multiple times with any kind of
transformations applied to them.

For example, i will like to apply many different ink effects
to instances of a single image and make a composition
with these parts.

Is this somehow possible in Runrev?

Notice, i know that this is possible with multiple
copies of the images, but i look for economy of size
of the stack.

Thanks in advance!

alejandro


--
View this message in context: http://www.nabble.com/Runrev-handling- of-imported-bitmaps-tf4728814.html#a13521479
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

_______________________________________________
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

Reply via email to