Re: Oval framed photo

2013-05-12 Thread Roger Guay
On May 11, 2013, at 5:13 AM, David Bovill wrote: > Thanks Mike and Roger - seems like it works on OSX at least despite the > notes in the docs: > > To be used as a pattern on Mac OS systems, an image must be 128x128 pixels >> or less, and both its height and width must be a power of 2, however,

Re: Oval framed photo

2013-05-11 Thread Thierry Douez
Hi David, 2013/5/11 David Bovill > > By the way I can't get the new syntax to work: > > >New variants of the import snapshot and export snapshot commands have > >been added: import snapshot ... at size width, height > >export snapshot ... at size width, height > > The script editor

Re: Oval framed photo

2013-05-11 Thread David Bovill
Thanks Mike and Roger - seems like it works on OSX at least despite the notes in the docs: To be used as a pattern on Mac OS systems, an image must be 128x128 pixels > or less, and both its height and width must be a power of 2, however, in > LiveCode version 2.7, this restriction was partially li

Re: Oval framed photo

2013-05-10 Thread Roger Guay
Hi David, Seems to me that the ideal solution to you problem is to make the image the backgroundPattern of your oval. Roger On May 10, 2013, at 4:22 AM, David Bovill wrote: > OK - seems like this works: > > - Image at back using ink "blendSrcAtop" > - Graphic in front, black filled oval

Re: Oval framed photo

2013-05-10 Thread Mike Bonner
Would it work to size the picture appropriately, (as you're already doing) set your oval to opaque, and set the background pattern to the image? Then to change the image just change the background pattern of the oval. On Fri, May 10, 2013 at 5:22 AM, David Bovill wrote: > OK - seems like this

Re: Oval framed photo

2013-05-10 Thread David Bovill
OK - seems like this works: - Image at back using ink "blendSrcAtop" - Graphic in front, black filled oval, with ink "blendSrcOver" - Group both objects and set the ink of the group to "blendSrcOver" Or use the following scripts: getprop show_Rounded >put the ink of me into someInk

Oval framed photo

2013-05-10 Thread David Bovill
Trying to work out the right combination of blends for an image (photo) and a graphic oval to create an oval mask. Ideally this is a group so that I can change the image and not something which depends on an alpha channel. Getting close - but nothing quite right yet. Suggestions? _