On 08 Jan 2004, at 17:20, [EMAIL PROTECTED] wrote:


Message: 4
Date: Thu, 8 Jan 2004 08:38:40 -0600
From: "Ken Ray" <[EMAIL PROTECTED]>
Subject: RE: Rev Crash Again!
To: "'How to use Revolution'" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="US-ASCII"

< There are many times you might
want to export the contents of a card
to a JPG or PNG file, and MetaCard/Revolution's built in export
snapshot command takes a literal screenshot, so things like palettes
and toolbars can get in the way of getting a clean image of the card.
Additionally, you might have a stack window which is larger than the
current monitor, and need to export the card image; export snapshot
just won't cut it in these cases. >

which is actually not correct because one can:

import snapshot from rect the rect of window < windowname >

Well, the comment was condemning "export snapshot", not "import
snapshot"; import snapshot suffers many of the same problems, though as
the TD states: "if the window is partly overlapped by another window,
whatever is visible on the screen within that rectangle is placed in the
snapshot". Basically, it literally takes a screen capture, whereas the
tip at
http://www.sonsothunder.com/devres/revolution/revolution.htm? _imag007.ht
m is not doing a screen capture; it is reading directly from the
window's image buffer to create the export.


Just a clarification,

:^) in the TD is stated:

export snapshot [from rect[angle] rectangle [of window windowID]] \
   to {file filePath |container} [as format] [with mask maskFile]


and this works:


on mouseup
export snapshot from rect the rect of this stack to txCurrentCardImage as PNG
put txCurrentCardImage into fld "thumbnail"
end mouseup




Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


WA

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to