Hi Graham, export snapshot from rect (the rect of control x) to myVar as JPEG set the text of img y to myVar
However, since you're exporting an image, why don't you put img x into img y? You could also use the import snapshot command, which creates a new image. -- 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, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 22 sep 2012, at 19:43, Graham Samuel wrote: > Hi Mark > > Thanks for the reply. If I don't want to invoke the filing system (and I > don't), then how can I make a new image out of my exported rect? A variable > isn't an image, after all - and yet the snapshot is nothing but a bitmap > really. I know there are other ways of creating images extracted from > existing displays (I'm using one of them quite successfully) but export > snapshot seems so neat. > > As I am clearly in a more than usually stupid phase (or the machinery is > running down faster than usual), can you explain how I can make an image out > of my snapshot without creating an intermediate file, and while you're at it, > explain what use is a snapshot when it's locked up in a variable. > > TIA > > Graham > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode