John, I don't think you can automatically do what you're asking -- a snapshot always "grabs" from a rectangle.
You either need to do as Andre suggests, or you have to define the L region yourself, and mask it out of the snapshot image. You can do this using a combination of ink effects, or by artificially applying alpha transparency to the snapshot. There are probably a few other ways as well. Here's an example of masking using ink effects: go url "http://tactilemedia.com/site_files/downloads/masking_options.rev" Here's an example of applying alpha transparency to one image using the imageData of another image: go url "http://tactilemedia.com/site_files/downloads/get_alpha.rev" Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, John Patten wrote: > Hi Andre... > > The issue is the "L" shape is inside a larger image. So essentially I > only want a part of the image and the part I want is in the shape of > the letter L. > > Thanks! > > John Patten > SUSD > > On Jun 29, 2011, at 12:24 PM, Andre Garzia wrote: > >> John >> >> export snapshot from graphic "L" to file "l.png" as PNG >> >> will do as you want. No need for coords, just pass the object >> reference. >> >> best >> andre >> >> On Wed, Jun 29, 2011 at 3:48 PM, John Patten <johnpat...@mac.com> >> wrote: >> >>> Hi All! >>> >>> Is it possible to to use non rectangular shapes when creating >>> snapshots? >>> >>> What if I had capture shape like the capital letter "L" ... could I >>> create a snapshot out of the outline of the letter L? (That's just an >>> example...) >>> >>> As I understand it, snapshot only works with four coordinates, the >>> points >>> of a rect... or can they work with any group of points on a polygon? >>> >>> Thanks in advance! >>> >>> John Patten >>> SUSD >>> >>> ______________________________**_________________ >>> 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<http://lists.runrev. >>> com/mailman/listinfo/use-livecode >>>> >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> _______________________________________________ >> 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 > > > _______________________________________________ > 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 _______________________________________________ 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