Re: Reuse an image

2012-11-16 Thread Klaus on-rev
Hi Peter, Am 15.11.2012 um 21:27 schrieb Peter Bogdanoff : > Hi, > > Simple task: I want to reuse an image that was imported as a control into a > substack. > > I know I can copy and paste, but I want to now replace many externally > referenced images with their internal equivalents that I ju

Re: Reuse an image

2012-11-15 Thread Paul Hibbert
Hi Peter, You would need to build a repeat loop to work through your images with something like… set the imageData of img "extRefImage" to the imageData of img "intImage" Beware that if your images are scaled that will affect the imageData. If the referenced images are identical to the i

Re: Reuse an image

2012-11-15 Thread Phil Davis
Hi Peter, With images you can also do either of these: put img 1 into img 2 -- forces img 2 to be same dimensions as img 1 (unless #2 is locked) set text of img 2 to text of img 1 -- terminology is weird but it works, same as above Best - Phil Davis On 11/15/12 12:54 PM, Peter Bogdanoff

Re: Reuse an image

2012-11-15 Thread Paul Hibbert
Mark, With all due respect, that's not what the OP requested… Quote: "I want to now replace many externally referenced images with their internal equivalents that I just imported. In other words, substitute the external with internal while keeping the old locs, scripts, etc., in place." Paul

Re: Reuse an image

2012-11-15 Thread Mark Schonewille
Hi Tim, If you need small thumbnails, it is best to resize the images and make a small copy of each big picture. You can do that with a photo editing application or inside LiveCode. If you want to make thumbnails in LiveCode, set the size of a big image to the desired thumbnail size, create a

Re: Reuse an image

2012-11-15 Thread Mark Schonewille
Hi, If the same images have the same size everywhere, please don't do that. You'd be using lots of memory for no reason. Just use buttons and set the icon of the buttons to the id of the images. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: htt

Re: Reuse an image

2012-11-15 Thread Paul Hibbert
Hi Peter, If I understand you correctly, you would need to build a repeat loop to work through your images with something like… set the imageData of img "extRefImage" to the imageData of img "intImage" Beware if your images are scaled, that will affect the imageData, they need to be the s

Re: Reuse an image

2012-11-15 Thread Mark Schonewille
This is how you reuse images, Peter. You use them as icons in buttons. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL

Re: Reuse an image

2012-11-15 Thread Peter Bogdanoff
Thanks, Mark. That works for buttons, however can I do it for images? On Nov 15, 2012, at 12:38 PM, Mark Schonewille wrote: > Hi Peeter, > > Set the icon of a transparent button to the (short) id of the image. > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x

Re: Reuse an image

2012-11-15 Thread Mark Schonewille
Hi Peeter, Set the icon of a transparent button to the (short) id of the image. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 15-nov-2012, om 21:27 heeft Peter Bogdanoff het volgende geschreven:

Re: Reuse an image

2012-11-15 Thread Timothy Miller
I've been wondering about a similar question (assuming I understand this question) Once I import an image into one card, can I reference that image and display it on another card? For instance, if I want to display an index of thumbnail imported images from other cards. Hmm... I just re-read t