taking a picture of the card programmatically

Jim Carwardine JimCarwardine at OwnYourFuture-net.com
Thu Oct 21 17:20:00 EDT 2004


What resolution does the import come in?  Is it 75 dpi (screen resolution)?
Can Rev create eps files?  Jim

on 10/21/04 8:45 AM, Klaus Major wrote:

> Hi Eric,
> 
>> I want to programmatically take a screenshot of the card.
>> 
>> "copy image 1 of this card" won't work for several reasons
>> 1) that would not include a picture of the buttons or fields.
>> 2) that would not include images 2 through n of this card.
>> And I have to do it programmatically, preferably cross platform so no
>> applescript.
>> 
>> Any ideas?
> 
> Sure :-)
> 
> ...
>  import snapshot from rect (the rect of this stack)
> ...
> 
> Et voila (or "Et Viola" as some listees, mostly MEN, prefer ;-) an
> image of your
> current card with ALL object on it...
> 
> You can also export a snapshot to a file in different formats with one
> line,
> if you need to:
> 
> ...
> export snapshot from rect (the rect of this stack) to file
> "sdssds.jpg" as JPEG
> ### or "...as PNG"
> ...
> 
> See the dox for "snapshot"...
> 
> 
> Hope this helps...
> 
> 
> Regards
> 
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 

OYF is... Highly resourceful people working together.
<http://www.OwnYourFuture-net.com>

Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139





More information about the use-livecode mailing list