Re: snapshot and animation capture

2016-02-06 Thread [-hh]
Sorry, forgot the link to the shaped-screenShot stack, here it is

http://forums.livecode.com/viewtopic.php?p=137640#p137640


___
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


Re: snapshot and animation capture

2016-02-06 Thread [-hh]
[Fits best into that thread, better than creating a new one]

Here another community stack, mainly prepared for Raspi,
but works (much faster, of course) also on Mac/Win/Linux.

The stack is a resizable transparent window-masked stack.

= Choose shapes to be created on-the-fly from menu:
... Rectangle, Oval and N-polygons (regular, 3<=N).
= Resizing is possible also non-proportional.
= Screenshots are done from the shape, i.e. if you use an
... oval you get the inner transparent part from screen and
... the frame of the image is your oval.

Simple rectangle shots are fast (impressing LC-features).
Shaped shots need much more time, incl. creating and saving
image, on a medium fast machine (Mac mini, 2.5 GHz) 800 ms
and 1800 ms on a Raspi2.
(Of course this is dependent of image size, the times are
averaged over sizes, the average size is 600x400 px.)

For the "shaped-shot" part I'm probably too complicated and
don't see the easy way.

If you know a tip or even have a better/faster method (that
works preferably on Mac/Win/Linux/Raspi) please come in to
Forum:Subforum Rich Media:Fast method for shaped screenshot?
http://forums.livecode.com/viewtopic.php?p=137641#p137641

===
Hermann

___
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


Re: snapshot and animation capture

2016-02-01 Thread Matt Maier
Also, I switched from exporting to an image and just had it export straight
to a file, then set the filename of the image to that file. The behavior of
an image when it's got a direct snapshot in it, and when its filename is
set, is not consistent. I skipped the voyage if exploration and just used
the approach that had worked before.
On Jan 30, 2016 16:28, "Matt Maier"  wrote:

> I got a reasonable facsimile of my original vision by just using an entire
> substack to define the capture area.
>
> on mouseUp
>set the blendlevel of stack "untitled 3" to 50
>set the loc of stack "untitled 3" to the screenloc
>go stack "untitled 3"
> end mouseUp
>
> Untitled 3 is a stack with button "exit" and button "snap". The first
> button just closes the stack. The second button executes the following
> script.
>
> on mouseUp
>set the cCaptureRect of stack "untitled 3" to the rect of stack
> "untitled 3"
>set the loc of stack "untitled 3" to -1000,-1000
>close stack "untitled 3"
>--   wait 200 milliseconds
>put the cCaptureRect of stack "untitled 3" into tBlerg
>export snapshot from rect tBlerg to image "captureHolder" of stack
> "untitled 1"
> end mouseUp
>
> Apparently it takes around 200 milliseconds for the stack window to
> actually close. At least, sometimes it was still in the way, or only
> partially faded out when the snapshot was captured. Moving it out of the
> way, however, seems to happen instantly.
>
> The snapshot comes from the inside of the stack window, not including the
> decorations.
>
> On Fri, Jan 29, 2016 at 11:35 AM, Richmond 
> wrote:
>
>> So, I thought I'd have a bash at rolling my own, but got stuck:
>>
>> on mouseUp
>>put topleft of img "border.png" & "," & the bottomright of img
>> "border.png" into 
>>put quote &  & quote into fld "guff"
>>put fld "guff" into 
>>export snapshot from rect  of stack "Super Snap" to file
>> ".png" as PNG
>> end mouseUp
>>
>> the thing gets stuck on the "export snapshot" line . . . cannot think why
>> . . .
>>
>> image "snapBTN.png": execution error at line 5 (import: error in
>> expression), char 1
>>
>> that stuff about "char 1" makes NO sense at all.
>>
>>
>> Richmond.
>>
>> ___
>> 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


Re: snapshot and animation capture

2016-01-30 Thread Mark Schonewille

I posted this link in my follow-up:
http://snapper.economy-x-talk.com/

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/28/2016 om 21:12 schreef Matt Maier:

Mark, what does "the app" refer to?
On Jan 27, 2016 16:21, "Mark Schonewille" 
wrote:


Matt,

Somehow, the website isn't much anymore, but the app can still be
downloaded. The trial version is almost fully functional. Perhaps this
approach would be useful for you.

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/27/2016 om 20:38 schreef Matt Maier:


I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without having to
navigate the file manager multiple times. There's some good screen capture
stuff already in Livecode, but what I'm picturing is an actual window with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent .png,
but that won't allow the user to resize the window. At the moment the only
mechanism I can come up with is to screencap what's behind the window
every
time the user moves or resizes it and display that in the window so that
it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to be able
to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for that is to
export each frame and then use something external like imagemagik to
stitch
them together into an animation.

- Matt
___
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



___
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


Re: snapshot and animation capture

2016-01-30 Thread Matt Maier
I got a reasonable facsimile of my original vision by just using an entire
substack to define the capture area.

on mouseUp
   set the blendlevel of stack "untitled 3" to 50
   set the loc of stack "untitled 3" to the screenloc
   go stack "untitled 3"
end mouseUp

Untitled 3 is a stack with button "exit" and button "snap". The first
button just closes the stack. The second button executes the following
script.

on mouseUp
   set the cCaptureRect of stack "untitled 3" to the rect of stack
"untitled 3"
   set the loc of stack "untitled 3" to -1000,-1000
   close stack "untitled 3"
   --   wait 200 milliseconds
   put the cCaptureRect of stack "untitled 3" into tBlerg
   export snapshot from rect tBlerg to image "captureHolder" of stack
"untitled 1"
end mouseUp

Apparently it takes around 200 milliseconds for the stack window to
actually close. At least, sometimes it was still in the way, or only
partially faded out when the snapshot was captured. Moving it out of the
way, however, seems to happen instantly.

The snapshot comes from the inside of the stack window, not including the
decorations.

On Fri, Jan 29, 2016 at 11:35 AM, Richmond 
wrote:

> So, I thought I'd have a bash at rolling my own, but got stuck:
>
> on mouseUp
>put topleft of img "border.png" & "," & the bottomright of img
> "border.png" into 
>put quote &  & quote into fld "guff"
>put fld "guff" into 
>export snapshot from rect  of stack "Super Snap" to file ".png"
> as PNG
> end mouseUp
>
> the thing gets stuck on the "export snapshot" line . . . cannot think why
> . . .
>
> image "snapBTN.png": execution error at line 5 (import: error in
> expression), char 1
>
> that stuff about "char 1" makes NO sense at all.
>
>
> Richmond.
>
> ___
> 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


Re: snapshot and animation capture

2016-01-29 Thread [-hh]
Hi,

I've made a stack for the Raspi collection, that does the following:

Creates a *resizable* rectangle frame (window shape of a non-opaque rectangle), 
currently set as systemWindow. You can drag that around the screen and trigger 
a small button on the frame. Then a screenshot of the visible interior of the 
frame is made and saved as PNG. You can open and view these 'shots' in the 
stack, if it is switched to non-window-shaped.

It's all "intermediate" Livecode, runs on Mac/Win/Linux and is fast enough on a 
Raspi. On Win/Linux resizing "flickers", you may play there with the 
'update-beat' (currently 4 ticks), but it works.

I didn't publish it until now, because "window-shaping" is currently/not yet 
possible in the available Raspi IDE's or standalones.

If this is (partly) what you want, then I'll post it (or a link to it) in a few 
hours in the sub-forum "Rich Media". Just tell me.


Hermann
___
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


Re: snapshot and animation capture

2016-01-29 Thread Richmond

On 28/01/16 13:22, Richmond wrote:

On 28/01/16 00:27, Scott Rossi wrote:

I thought this might make an interesting read, so the demo stack is
included in an article:



Hope this works for you.


Well, I'll certainly see: I'll see if it can grab a few images from my 
USB microscope connected
to a computer running Xubuntu - at least it will be a happy 
alternative from endless Grammar

exercises for the kids I'm teaching this afternoon!

Expect a report later today.

Richmond.


I must be slightly stupid because, although I could see a resizable 
rectangle I could not

for the life of me work out how to trigger the actual snapshot.

Richmond.




Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
 wrote:


Hi Matt:

I have a method for a resizable masked window that requires LC7 -- I'll
try to post something later today or tomorrow.  As far as image 
animation

goes, I have a very vague memory that LC used to be able to export
animated GIF images, but that may have been static images only.  You 
may
indeed need to go with a 3rd party option -- hopefully somebody else 
has a

suggestion for this.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"


wrote:


I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without 
having to

navigate the file manager multiple times. There's some good screen
capture
stuff already in Livecode, but what I'm picturing is an actual window
with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent 
.png,

but that won't allow the user to resize the window. At the moment the
only
mechanism I can come up with is to screencap what's behind the window
every
time the user moves or resizes it and display that in the window so 
that

it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to 
be able

to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for 
that is

to
export each frame and then use something external like imagemagik to
stitch
them together into an animation.

- Matt



___
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


Re: snapshot and animation capture

2016-01-29 Thread [-hh]
Richmond,

"import" of the error message relates to the rect (see the wording in the 
dictionary), so char 1 means the superfluous quote (as Dame jacque says).

Whatever you test here, you could use 'from rect  of this card' or 'from 
rect of img "border.png"' if you wish to have a local coords shot of 
'border.png', else you'll get a *global* coords shot (from the tools window or 
whatever).

Thanks again for your "throwing a spanner in the works" (I like your unusual 
phrasing and wording), indeed you did exactly the opposite.

hh
___
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


Re: snapshot and animation capture

2016-01-29 Thread J. Landman Gay

On 1/29/2016 1:35 PM, Richmond wrote:

So, I thought I'd have a bash at rolling my own, but got stuck:

on mouseUp
put topleft of img "border.png" & "," & the bottomright of img
"border.png" into 
put quote &  & quote into fld "guff"
put fld "guff" into 
export snapshot from rect  of stack "Super Snap" to file
".png" as PNG
end mouseUp

the thing gets stuck on the "export snapshot" line . . . cannot think
why . . .

image "snapBTN.png": execution error at line 5 (import: error in
expression), char 1

that stuff about "char 1" makes NO sense at all.


I think in general it means the line won't compile at all, there's no 
specific place it errors.


By adding quotes to the variable, you are specifying a string rather 
than a rect. Omit the quotes from the field.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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


Re: snapshot and animation capture

2016-01-29 Thread Richmond

At the risk of throwing a spanner in the works I want to refer you
to this:

http://lists.runrev.com/pipermail/use-livecode/2014-January/196782.html

"Hi all, Some weeks ago,
I reported that windowShape was not working in my Lubuntu Linux setup.
After looking around and testing many recipes,
finally I found the program that works in my setup.
The windowshape property was not working in Lubuntu Linux because it 
does not include,

by default a composite manager."

posted by someone wiser than me.

Richmond.


___
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


Re: snapshot and animation capture

2016-01-29 Thread Richard Gaskin

Richmond wrote:
> At the risk of throwing a spanner in the works I want to refer you
> to this:
>
> http://lists.runrev.com/pipermail/use-livecode/2014-January/196782.html
>
> "Hi all, Some weeks ago,
> I reported that windowShape was not working in my Lubuntu Linux setup.
> After looking around and testing many recipes,
> finally I found the program that works in my setup.
> The windowshape property was not working in Lubuntu Linux because it
> does not include,
> by default a composite manager."
>
> posted by someone wiser than me.

That was Alejandro, and AFAIK he and I are among the very few people in 
the LC community using Lubuntu specifically (and in all fairness I only 
run it on my oldest computer; everything else runs Ubuntu which includes 
the Compiz compositor).


If the chart showing number of users running different Linux distros in 
the middle of this page is any guide, not much of an issue:



Of the ones shown there, AFAIK only Xubuntu lacks a compositor; Lubuntu 
isn't even on the list.  Like Puppy Linux and other slim distros, both 
Xubuntu and Lubuntu are designed to run on older machines or in 
configurations that don't meet the minimum requirements for more 
fully-features distros like Fedora, Ubuntu, or Mint.  Of the two Lubuntu 
is slightly leaner in its disk and RAM requirements, so I'm not sure why 
Xubuntu is more popular, but regardless consider them both in the bigger 
picture:


Windows: ~85%
Mac: ~10%
Linux:~5%

With Xubuntu at probably less than 5% of Linux' 5% of desktop computers, 
the number of affected users among the total addressable market is very, 
very small.


If we were to look at Xubuntu, Lubuntu, Puppy Linux, and other such 
distros combined, I'd be surprised if the lot of them totaled more than 
0.01% of desktops in use.


And even then, not much to worry about since we choose these lightweight 
distros for specific reasons, and we know what we're in for.  Software 
that requires compositing generally only runs on beefier hardware, so 
when we choose a lightweight distro we understand we're not going to 
have as many apps available to us, and that's generally okay for the 
cases where we want a light OS.


When we need a compositor we know where to get it - after all, how else 
could we run the cube? :)



--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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


Re: snapshot and animation capture

2016-01-29 Thread Richmond

So, I thought I'd have a bash at rolling my own, but got stuck:

on mouseUp
   put topleft of img "border.png" & "," & the bottomright of img 
"border.png" into 

   put quote &  & quote into fld "guff"
   put fld "guff" into 
   export snapshot from rect  of stack "Super Snap" to file 
".png" as PNG

end mouseUp

the thing gets stuck on the "export snapshot" line . . . cannot think 
why . . .


image "snapBTN.png": execution error at line 5 (import: error in 
expression), char 1


that stuff about "char 1" makes NO sense at all.

Richmond.

___
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


Re: snapshot and animation capture

2016-01-29 Thread [-hh]
Richmond wrote:
> At the risk of throwing a spanner in the works I want to refer you to this:
> http://lists.runrev.com/pipermail/use-livecode/2014-January/196782.html
> "Hi all, Some weeks ago,
> I reported that windowShape was not working in my Lubuntu Linux setup.
> After looking around and testing many recipes,
> finally I found the program that works in my setup.
> The windowshape property was not working in Lubuntu Linux because it 
> does not include, by default a composite manager."
> posted by someone wiser than me.
> Richmond.

What a valuable hint from Alejandro! And what a valuable hint to that hint.
May nearly all your sins be forgiven for that, Richmond:

Based on that I found the way of how to have windowshape on RaspberryPi,
running Raspbian. See here my first screenshot of a LC "frame"-stack
(the skyBlue line is the stack) that makes screenshots.

http://forums.livecode.com/viewtopic.php?f=76=26397

Thank you both very much for that.

Hermann


___
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


Re: snapshot and animation capture

2016-01-28 Thread Matt Maier
Mark, oops, didn't scroll far enough. I found the link to Snapper, thanks.

Scott, that's great, and thanks for putting that post and stack up so fast.
It's a little laggy on my system when it resizes quickly or gets to around
750 pixels. Is it the same on yours?

Is there a way to control other applications from within Livecode? Like, if
the user has their browser running, could I bring it to the front, take a
screenshot, then send it back behind the stand-alone again? Or is there a
parameter in Livecode's screenshot function to only include another
application in the screenshot?
On Jan 27, 2016 14:28, "Scott Rossi"  wrote:

> I thought this might make an interesting read, so the demo stack is
> included in an article:
> <
> http://tactilemedia.com/blog/2016/01/27/i-was-framed-a-resizable-custom-wi
> ndowshape-in-livecode/>
>
>
> Hope this works for you.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
>  sc...@tactilemedia.com> wrote:
>
> >Hi Matt:
> >
> >I have a method for a resizable masked window that requires LC7 -- I'll
> >try to post something later today or tomorrow.  As far as image animation
> >goes, I have a very vague memory that LC used to be able to export
> >animated GIF images, but that may have been static images only.  You may
> >indeed need to go with a 3rd party option -- hopefully somebody else has a
> >suggestion for this.
> >
> >Regards,
> >
> >Scott Rossi
> >Creative Director
> >Tactile Media, UX/UI Design
> >
> >
> >
> >
> >On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
> >
> >wrote:
> >
> >>I need to be able to easily capture stuff the user is seeing on their
> >>screen so that they can import it into my application without having to
> >>navigate the file manager multiple times. There's some good screen
> >>capture
> >>stuff already in Livecode, but what I'm picturing is an actual window
> >>with
> >>a hole in it the user can position and leave there so they know what's
> >>going to be captured multiple times. Like gifcam
> >>http://blog.bahraniapps.com/gifcam/
> >>
> >>There doesn't seem to be a way to set the background of a window to
> >>transparent. There is a way to mask the window using a transparent .png,
> >>but that won't allow the user to resize the window. At the moment the
> >>only
> >>mechanism I can come up with is to screencap what's behind the window
> >>every
> >>time the user moves or resizes it and display that in the window so that
> >>it
> >>looks like it's transparent. Is there a better way?
> >>
> >>Also, in addition to capturing still images, I'd like the user to be able
> >>to capture animated images (as an alternative to video). So, that part
> >>would be exactly like gifcam. The only mechanism I've found for that is
> >>to
> >>export each frame and then use something external like imagemagik to
> >>stitch
> >>them together into an animation.
> >>
> >>- Matt
>
>
>
> ___
> 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


Re: snapshot and animation capture

2016-01-28 Thread Matt Maier
Mark, what does "the app" refer to?
On Jan 27, 2016 16:21, "Mark Schonewille" 
wrote:

> Matt,
>
> Somehow, the website isn't much anymore, but the app can still be
> downloaded. The trial version is almost fully functional. Perhaps this
> approach would be useful for you.
>
> Kind regards,
>
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
>
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.com
>
> Op 1/27/2016 om 20:38 schreef Matt Maier:
>
>> I need to be able to easily capture stuff the user is seeing on their
>> screen so that they can import it into my application without having to
>> navigate the file manager multiple times. There's some good screen capture
>> stuff already in Livecode, but what I'm picturing is an actual window with
>> a hole in it the user can position and leave there so they know what's
>> going to be captured multiple times. Like gifcam
>> http://blog.bahraniapps.com/gifcam/
>>
>> There doesn't seem to be a way to set the background of a window to
>> transparent. There is a way to mask the window using a transparent .png,
>> but that won't allow the user to resize the window. At the moment the only
>> mechanism I can come up with is to screencap what's behind the window
>> every
>> time the user moves or resizes it and display that in the window so that
>> it
>> looks like it's transparent. Is there a better way?
>>
>> Also, in addition to capturing still images, I'd like the user to be able
>> to capture animated images (as an alternative to video). So, that part
>> would be exactly like gifcam. The only mechanism I've found for that is to
>> export each frame and then use something external like imagemagik to
>> stitch
>> them together into an animation.
>>
>> - Matt
>> ___
>> 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


Re: snapshot and animation capture

2016-01-28 Thread Scott Rossi
This sounds intriguing, but when I place a graphic in a stack and
configure as you describe, all I see is an all-black graphic.  Is there
perhaps another step I'm missing?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/28/16, 1:15 PM, "use-livecode on behalf of Richard Gaskin"
 wrote:

>Scott Rossi wrote:
> > Regarding lagginess: yes. I can't say for sure, but if the LiveCode
> > guys could enable the windowShape property to work with images that
> > have centerRect dimensions, this would eliminate the need to do any
> > image exporting and potentially make drawing of the window faster.
>
>For screen shots I've been cheating:  if I don't need to interact with
>the things within the hole in a stack, I just put a graphic down, turn
>on opaque, and set its ink to blendXor - shows through like a hole but
>without having to use a custom windowShape.
>
>-- 
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
>
>___
>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


Re: snapshot and animation capture

2016-01-28 Thread Richard Gaskin
Hmmm...maybe it's a bug in the Linux engine masquerading as a feature. 
I've only been using this on my own system, so I haven't had occasion to 
try it elsewhere.


Or maybe it's a feature masquerading as a bug in OS X?

Useful either way.  Maybe file a bug report, and if they don't think 
it's a bug it becomes a feature request for a see-through blend.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com



snapshot and animation capture

Scott Rossi scott at tactilemedia.com
Thu Jan 28 22:23:30 CET 2016
Previous message: snapshot and animation capture
Next message: snapshot and animation capture
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This sounds intriguing, but when I place a graphic in a stack and
configure as you describe, all I see is an all-black graphic.  Is there
perhaps another step I'm missing?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/28/16, 1:15 PM, "use-livecode on behalf of Richard Gaskin"
 wrote:


Scott Rossi wrote:
> Regarding lagginess: yes. I can't say for sure, but if the LiveCode
> guys could enable the windowShape property to work with images that
> have centerRect dimensions, this would eliminate the need to do any
> image exporting and potentially make drawing of the window faster.

For screen shots I've been cheating:  if I don't need to interact with
the things within the hole in a stack, I just put a graphic down, turn
on opaque, and set its ink to blendXor - shows through like a hole but
without having to use a custom windowShape.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 Ambassador at FourthWorld.comhttp://www.FourthWorld.com



___
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


Re: snapshot and animation capture

2016-01-28 Thread Scott Rossi
Regarding lagginess: yes. I can't say for sure, but if the LiveCode guys
could enable the windowShape property to work with images that have
centerRect dimensions, this would eliminate the need to do any image
exporting and potentially make drawing of the window faster.  I've
suggested for years that window masks be based on graphics and converted
image/alphaData behind the scenes, but for now we're stuck with images.

Regarding screenshots, WITHIN LiveCode you can capture just about
anything, but I don't believe there are any options for capturing
externally other than defining a rect on the screen.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/28/16, 12:21 PM, "use-livecode on behalf of Matt Maier"

wrote:

>Mark, oops, didn't scroll far enough. I found the link to Snapper, thanks.
>
>Scott, that's great, and thanks for putting that post and stack up so
>fast.
>It's a little laggy on my system when it resizes quickly or gets to around
>750 pixels. Is it the same on yours?
>
>Is there a way to control other applications from within Livecode? Like,
>if
>the user has their browser running, could I bring it to the front, take a
>screenshot, then send it back behind the stand-alone again? Or is there a
>parameter in Livecode's screenshot function to only include another
>application in the screenshot?
>On Jan 27, 2016 14:28, "Scott Rossi"  wrote:
>
>> I thought this might make an interesting read, so the demo stack is
>> included in an article:
>> <
>> 
>>http://tactilemedia.com/blog/2016/01/27/i-was-framed-a-resizable-custom-w
>>i
>> ndowshape-in-livecode/>
>>
>>
>> Hope this works for you.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
>> > sc...@tactilemedia.com> wrote:
>>
>> >Hi Matt:
>> >
>> >I have a method for a resizable masked window that requires LC7 -- I'll
>> >try to post something later today or tomorrow.  As far as image
>>animation
>> >goes, I have a very vague memory that LC used to be able to export
>> >animated GIF images, but that may have been static images only.  You
>>may
>> >indeed need to go with a 3rd party option -- hopefully somebody else
>>has a
>> >suggestion for this.
>> >
>> >Regards,
>> >
>> >Scott Rossi
>> >Creative Director
>> >Tactile Media, UX/UI Design
>> >
>> >
>> >
>> >
>> >On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
>> >>bluebac...@gmail.com>
>> >wrote:
>> >
>> >>I need to be able to easily capture stuff the user is seeing on their
>> >>screen so that they can import it into my application without having
>>to
>> >>navigate the file manager multiple times. There's some good screen
>> >>capture
>> >>stuff already in Livecode, but what I'm picturing is an actual window
>> >>with
>> >>a hole in it the user can position and leave there so they know what's
>> >>going to be captured multiple times. Like gifcam
>> >>http://blog.bahraniapps.com/gifcam/
>> >>
>> >>There doesn't seem to be a way to set the background of a window to
>> >>transparent. There is a way to mask the window using a transparent
>>.png,
>> >>but that won't allow the user to resize the window. At the moment the
>> >>only
>> >>mechanism I can come up with is to screencap what's behind the window
>> >>every
>> >>time the user moves or resizes it and display that in the window so
>>that
>> >>it
>> >>looks like it's transparent. Is there a better way?
>> >>
>> >>Also, in addition to capturing still images, I'd like the user to be
>>able
>> >>to capture animated images (as an alternative to video). So, that part
>> >>would be exactly like gifcam. The only mechanism I've found for that
>>is
>> >>to
>> >>export each frame and then use something external like imagemagik to
>> >>stitch
>> >>them together into an animation.
>> >>
>> >>- Matt
>>



___
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


Re: snapshot and animation capture

2016-01-28 Thread Richard Gaskin

Scott Rossi wrote:
> Regarding lagginess: yes. I can't say for sure, but if the LiveCode
> guys could enable the windowShape property to work with images that
> have centerRect dimensions, this would eliminate the need to do any
> image exporting and potentially make drawing of the window faster.

For screen shots I've been cheating:  if I don't need to interact with 
the things within the hole in a stack, I just put a graphic down, turn 
on opaque, and set its ink to blendXor - shows through like a hole but 
without having to use a custom windowShape.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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


Re: snapshot and animation capture

2016-01-28 Thread Richard Gaskin

Richard Gaskin wrote:
> Hmmm...maybe it's a bug in the Linux engine masquerading as a
> feature. I've only been using this on my own system, so I haven't
> had occasion to try it elsewhere.
>
> Or maybe it's a feature masquerading as a bug in OS X?
>
> Useful either way.  Maybe file a bug report, and if they don't think
> it's a bug it becomes a feature request for a see-through blend.

Bug filed:
http://quality.livecode.com/show_bug.cgi?id=16782

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
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


Re: snapshot and animation capture

2016-01-28 Thread Richmond

On 28/01/16 00:27, Scott Rossi wrote:

I thought this might make an interesting read, so the demo stack is
included in an article:



Hope this works for you.


Well, I'll certainly see: I'll see if it can grab a few images from my 
USB microscope connected
to a computer running Xubuntu - at least it will be a happy alternative 
from endless Grammar

exercises for the kids I'm teaching this afternoon!

Expect a report later today.

Richmond.



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
 wrote:


Hi Matt:

I have a method for a resizable masked window that requires LC7 -- I'll
try to post something later today or tomorrow.  As far as image animation
goes, I have a very vague memory that LC used to be able to export
animated GIF images, but that may have been static images only.  You may
indeed need to go with a 3rd party option -- hopefully somebody else has a
suggestion for this.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"

wrote:


I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without having to
navigate the file manager multiple times. There's some good screen
capture
stuff already in Livecode, but what I'm picturing is an actual window
with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent .png,
but that won't allow the user to resize the window. At the moment the
only
mechanism I can come up with is to screencap what's behind the window
every
time the user moves or resizes it and display that in the window so that
it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to be able
to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for that is
to
export each frame and then use something external like imagemagik to
stitch
them together into an animation.

- Matt



___
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


Re: snapshot and animation capture

2016-01-28 Thread Matt Maier
About that, is there a way to save the rectangle that the user draws
manually using the crosshairs? With that I could at least capture the same
rectangle again automatically.

I suppose all I really need is a way for the user to define an area on the
screen once and grab screenshots from that same area many times.
On Jan 28, 2016 12:47, "Scott Rossi"  wrote:

> Regarding lagginess: yes. I can't say for sure, but if the LiveCode guys
> could enable the windowShape property to work with images that have
> centerRect dimensions, this would eliminate the need to do any image
> exporting and potentially make drawing of the window faster.  I've
> suggested for years that window masks be based on graphics and converted
> image/alphaData behind the scenes, but for now we're stuck with images.
>
> Regarding screenshots, WITHIN LiveCode you can capture just about
> anything, but I don't believe there are any options for capturing
> externally other than defining a rect on the screen.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 1/28/16, 12:21 PM, "use-livecode on behalf of Matt Maier"
> 
> wrote:
>
> >Mark, oops, didn't scroll far enough. I found the link to Snapper, thanks.
> >
> >Scott, that's great, and thanks for putting that post and stack up so
> >fast.
> >It's a little laggy on my system when it resizes quickly or gets to around
> >750 pixels. Is it the same on yours?
> >
> >Is there a way to control other applications from within Livecode? Like,
> >if
> >the user has their browser running, could I bring it to the front, take a
> >screenshot, then send it back behind the stand-alone again? Or is there a
> >parameter in Livecode's screenshot function to only include another
> >application in the screenshot?
> >On Jan 27, 2016 14:28, "Scott Rossi"  wrote:
> >
> >> I thought this might make an interesting read, so the demo stack is
> >> included in an article:
> >> <
> >>
> >>
> http://tactilemedia.com/blog/2016/01/27/i-was-framed-a-resizable-custom-w
> >>i
> >> ndowshape-in-livecode/>
> >>
> >>
> >> Hope this works for you.
> >>
> >> Regards,
> >>
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX/UI Design
> >>
> >>
> >>
> >>
> >> On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
> >>  >> sc...@tactilemedia.com> wrote:
> >>
> >> >Hi Matt:
> >> >
> >> >I have a method for a resizable masked window that requires LC7 -- I'll
> >> >try to post something later today or tomorrow.  As far as image
> >>animation
> >> >goes, I have a very vague memory that LC used to be able to export
> >> >animated GIF images, but that may have been static images only.  You
> >>may
> >> >indeed need to go with a 3rd party option -- hopefully somebody else
> >>has a
> >> >suggestion for this.
> >> >
> >> >Regards,
> >> >
> >> >Scott Rossi
> >> >Creative Director
> >> >Tactile Media, UX/UI Design
> >> >
> >> >
> >> >
> >> >
> >> >On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
> >> > >>bluebac...@gmail.com>
> >> >wrote:
> >> >
> >> >>I need to be able to easily capture stuff the user is seeing on their
> >> >>screen so that they can import it into my application without having
> >>to
> >> >>navigate the file manager multiple times. There's some good screen
> >> >>capture
> >> >>stuff already in Livecode, but what I'm picturing is an actual window
> >> >>with
> >> >>a hole in it the user can position and leave there so they know what's
> >> >>going to be captured multiple times. Like gifcam
> >> >>http://blog.bahraniapps.com/gifcam/
> >> >>
> >> >>There doesn't seem to be a way to set the background of a window to
> >> >>transparent. There is a way to mask the window using a transparent
> >>.png,
> >> >>but that won't allow the user to resize the window. At the moment the
> >> >>only
> >> >>mechanism I can come up with is to screencap what's behind the window
> >> >>every
> >> >>time the user moves or resizes it and display that in the window so
> >>that
> >> >>it
> >> >>looks like it's transparent. Is there a better way?
> >> >>
> >> >>Also, in addition to capturing still images, I'd like the user to be
> >>able
> >> >>to capture animated images (as an alternative to video). So, that part
> >> >>would be exactly like gifcam. The only mechanism I've found for that
> >>is
> >> >>to
> >> >>export each frame and then use something external like imagemagik to
> >> >>stitch
> >> >>them together into an animation.
> >> >>
> >> >>- Matt
> >>
>
>
>
> ___
> 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
>

Re: snapshot and animation capture

2016-01-28 Thread Scott Rossi
As a concept, I thought it might be possible to detect the screenMouseLoc
in a frontScript and use the resulting snapshot dimensions to determine
the width/height of captured screen rect.  Two problems though: 1) under
7.1.1 here on OS X 10.9.5, when executing just "import snapshot" the
capture is WAY off from the selected rect, to the point of being unusable
(bug?), and 2) a frontScript doesn't appear to grab the mouse location
while the snapshot feature is active.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/28/16, 7:26 PM, "use-livecode on behalf of Matt Maier"

wrote:

>About that, is there a way to save the rectangle that the user draws
>manually using the crosshairs? With that I could at least capture the same
>rectangle again automatically.
>
>I suppose all I really need is a way for the user to define an area on the
>screen once and grab screenshots from that same area many times.
>On Jan 28, 2016 12:47, "Scott Rossi"  wrote:
>
>> Regarding lagginess: yes. I can't say for sure, but if the LiveCode guys
>> could enable the windowShape property to work with images that have
>> centerRect dimensions, this would eliminate the need to do any image
>> exporting and potentially make drawing of the window faster.  I've
>> suggested for years that window masks be based on graphics and converted
>> image/alphaData behind the scenes, but for now we're stuck with images.
>>
>> Regarding screenshots, WITHIN LiveCode you can capture just about
>> anything, but I don't believe there are any options for capturing
>> externally other than defining a rect on the screen.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 1/28/16, 12:21 PM, "use-livecode on behalf of Matt Maier"
>> >bluebac...@gmail.com>
>> wrote:
>>
>> >Mark, oops, didn't scroll far enough. I found the link to Snapper,
>>thanks.
>> >
>> >Scott, that's great, and thanks for putting that post and stack up so
>> >fast.
>> >It's a little laggy on my system when it resizes quickly or gets to
>>around
>> >750 pixels. Is it the same on yours?
>> >
>> >Is there a way to control other applications from within Livecode?
>>Like,
>> >if
>> >the user has their browser running, could I bring it to the front,
>>take a
>> >screenshot, then send it back behind the stand-alone again? Or is
>>there a
>> >parameter in Livecode's screenshot function to only include another
>> >application in the screenshot?
>> >On Jan 27, 2016 14:28, "Scott Rossi"  wrote:
>> >
>> >> I thought this might make an interesting read, so the demo stack is
>> >> included in an article:
>> >> <
>> >>
>> >>
>> 
>>http://tactilemedia.com/blog/2016/01/27/i-was-framed-a-resizable-custom-w
>> >>i
>> >> ndowshape-in-livecode/>
>> >>
>> >>
>> >> Hope this works for you.
>> >>
>> >> Regards,
>> >>
>> >> Scott Rossi
>> >> Creative Director
>> >> Tactile Media, UX/UI Design
>> >>
>> >>
>> >>
>> >>
>> >> On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
>> >> > >> sc...@tactilemedia.com> wrote:
>> >>
>> >> >Hi Matt:
>> >> >
>> >> >I have a method for a resizable masked window that requires LC7 --
>>I'll
>> >> >try to post something later today or tomorrow.  As far as image
>> >>animation
>> >> >goes, I have a very vague memory that LC used to be able to export
>> >> >animated GIF images, but that may have been static images only.  You
>> >>may
>> >> >indeed need to go with a 3rd party option -- hopefully somebody else
>> >>has a
>> >> >suggestion for this.
>> >> >
>> >> >Regards,
>> >> >
>> >> >Scott Rossi
>> >> >Creative Director
>> >> >Tactile Media, UX/UI Design
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
>> >> >> >>bluebac...@gmail.com>
>> >> >wrote:
>> >> >
>> >> >>I need to be able to easily capture stuff the user is seeing on
>>their
>> >> >>screen so that they can import it into my application without
>>having
>> >>to
>> >> >>navigate the file manager multiple times. There's some good screen
>> >> >>capture
>> >> >>stuff already in Livecode, but what I'm picturing is an actual
>>window
>> >> >>with
>> >> >>a hole in it the user can position and leave there so they know
>>what's
>> >> >>going to be captured multiple times. Like gifcam
>> >> >>http://blog.bahraniapps.com/gifcam/
>> >> >>
>> >> >>There doesn't seem to be a way to set the background of a window to
>> >> >>transparent. There is a way to mask the window using a transparent
>> >>.png,
>> >> >>but that won't allow the user to resize the window. At the moment
>>the
>> >> >>only
>> >> >>mechanism I can come up with is to screencap what's behind the
>>window
>> >> >>every
>> >> >>time the user moves or resizes it and 

Re: snapshot and animation capture

2016-01-28 Thread Matt Maier
What I'm working on now is putting a stack across the whole screen with a
resizable rectangle on it. Then as long as the stack is transparent, or
semi-transparent, the user can position the rectangle over what they want
to capture. When they're done the stack coordinates can be converted into
screen coordinates and the window can be closed.

On Thu, Jan 28, 2016 at 8:23 PM, Scott Rossi  wrote:

> As a concept, I thought it might be possible to detect the screenMouseLoc
> in a frontScript and use the resulting snapshot dimensions to determine
> the width/height of captured screen rect.  Two problems though: 1) under
> 7.1.1 here on OS X 10.9.5, when executing just "import snapshot" the
> capture is WAY off from the selected rect, to the point of being unusable
> (bug?), and 2) a frontScript doesn't appear to grab the mouse location
> while the snapshot feature is active.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 1/28/16, 7:26 PM, "use-livecode on behalf of Matt Maier"
> 
> wrote:
>
> >About that, is there a way to save the rectangle that the user draws
> >manually using the crosshairs? With that I could at least capture the same
> >rectangle again automatically.
> >
> >I suppose all I really need is a way for the user to define an area on the
> >screen once and grab screenshots from that same area many times.
> >On Jan 28, 2016 12:47, "Scott Rossi"  wrote:
> >
> >> Regarding lagginess: yes. I can't say for sure, but if the LiveCode guys
> >> could enable the windowShape property to work with images that have
> >> centerRect dimensions, this would eliminate the need to do any image
> >> exporting and potentially make drawing of the window faster.  I've
> >> suggested for years that window masks be based on graphics and converted
> >> image/alphaData behind the scenes, but for now we're stuck with images.
> >>
> >> Regarding screenshots, WITHIN LiveCode you can capture just about
> >> anything, but I don't believe there are any options for capturing
> >> externally other than defining a rect on the screen.
> >>
> >> Regards,
> >>
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX/UI Design
> >>
> >>
> >>
> >>
> >> On 1/28/16, 12:21 PM, "use-livecode on behalf of Matt Maier"
> >>  >>bluebac...@gmail.com>
> >> wrote:
> >>
> >> >Mark, oops, didn't scroll far enough. I found the link to Snapper,
> >>thanks.
> >> >
> >> >Scott, that's great, and thanks for putting that post and stack up so
> >> >fast.
> >> >It's a little laggy on my system when it resizes quickly or gets to
> >>around
> >> >750 pixels. Is it the same on yours?
> >> >
> >> >Is there a way to control other applications from within Livecode?
> >>Like,
> >> >if
> >> >the user has their browser running, could I bring it to the front,
> >>take a
> >> >screenshot, then send it back behind the stand-alone again? Or is
> >>there a
> >> >parameter in Livecode's screenshot function to only include another
> >> >application in the screenshot?
> >> >On Jan 27, 2016 14:28, "Scott Rossi"  wrote:
> >> >
> >> >> I thought this might make an interesting read, so the demo stack is
> >> >> included in an article:
> >> >> <
> >> >>
> >> >>
> >>
> >>
> http://tactilemedia.com/blog/2016/01/27/i-was-framed-a-resizable-custom-w
> >> >>i
> >> >> ndowshape-in-livecode/>
> >> >>
> >> >>
> >> >> Hope this works for you.
> >> >>
> >> >> Regards,
> >> >>
> >> >> Scott Rossi
> >> >> Creative Director
> >> >> Tactile Media, UX/UI Design
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
> >> >>  >> >> sc...@tactilemedia.com> wrote:
> >> >>
> >> >> >Hi Matt:
> >> >> >
> >> >> >I have a method for a resizable masked window that requires LC7 --
> >>I'll
> >> >> >try to post something later today or tomorrow.  As far as image
> >> >>animation
> >> >> >goes, I have a very vague memory that LC used to be able to export
> >> >> >animated GIF images, but that may have been static images only.  You
> >> >>may
> >> >> >indeed need to go with a 3rd party option -- hopefully somebody else
> >> >>has a
> >> >> >suggestion for this.
> >> >> >
> >> >> >Regards,
> >> >> >
> >> >> >Scott Rossi
> >> >> >Creative Director
> >> >> >Tactile Media, UX/UI Design
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
> >> >> > >> >>bluebac...@gmail.com>
> >> >> >wrote:
> >> >> >
> >> >> >>I need to be able to easily capture stuff the user is seeing on
> >>their
> >> >> >>screen so that they can import it into my application without
> >>having
> >> >>to
> >> >> >>navigate the file manager multiple times. There's some good screen
> >> >> 

Re: snapshot and animation capture

2016-01-27 Thread Scott Rossi
I thought this might make an interesting read, so the demo stack is
included in an article:



Hope this works for you.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:55 AM, "use-livecode on behalf of Scott Rossi"
 wrote:

>Hi Matt:
>
>I have a method for a resizable masked window that requires LC7 -- I'll
>try to post something later today or tomorrow.  As far as image animation
>goes, I have a very vague memory that LC used to be able to export
>animated GIF images, but that may have been static images only.  You may
>indeed need to go with a 3rd party option -- hopefully somebody else has a
>suggestion for this.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"
>
>wrote:
>
>>I need to be able to easily capture stuff the user is seeing on their
>>screen so that they can import it into my application without having to
>>navigate the file manager multiple times. There's some good screen
>>capture
>>stuff already in Livecode, but what I'm picturing is an actual window
>>with
>>a hole in it the user can position and leave there so they know what's
>>going to be captured multiple times. Like gifcam
>>http://blog.bahraniapps.com/gifcam/
>>
>>There doesn't seem to be a way to set the background of a window to
>>transparent. There is a way to mask the window using a transparent .png,
>>but that won't allow the user to resize the window. At the moment the
>>only
>>mechanism I can come up with is to screencap what's behind the window
>>every
>>time the user moves or resizes it and display that in the window so that
>>it
>>looks like it's transparent. Is there a better way?
>>
>>Also, in addition to capturing still images, I'd like the user to be able
>>to capture animated images (as an alternative to video). So, that part
>>would be exactly like gifcam. The only mechanism I've found for that is
>>to
>>export each frame and then use something external like imagemagik to
>>stitch
>>them together into an animation.
>>
>>- Matt



___
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


Re: snapshot and animation capture

2016-01-27 Thread Mark Schonewille

I meant to post this link
http://snapper.economy-x-talk.com/

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/28/2016 om 01:21 schreef Mark Schonewille:

Matt,

Somehow, the website isn't much anymore, but the app can still be
downloaded. The trial version is almost fully functional. Perhaps this
approach would be useful for you.

Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/27/2016 om 20:38 schreef Matt Maier:

I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without having to
navigate the file manager multiple times. There's some good screen
capture
stuff already in Livecode, but what I'm picturing is an actual window
with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent .png,
but that won't allow the user to resize the window. At the moment the
only
mechanism I can come up with is to screencap what's behind the window
every
time the user moves or resizes it and display that in the window so
that it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to be able
to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for that
is to
export each frame and then use something external like imagemagik to
stitch
them together into an animation.

- Matt
___
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


Re: snapshot and animation capture

2016-01-27 Thread Scott Rossi

On 1/27/16, 2:50 PM, "use-livecode on behalf of Eric Corbett"
 wrote:

>Nice Scott,
>
>The resize is super fast.

Great!

>
>the moveStack is slower than other moveStack scripts I have from you.

Not so great, but with LC7 I found I had to use a different window drag
routine as the code I've been using for years stopped working well.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




___
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


Re: snapshot and animation capture

2016-01-27 Thread Mark Schonewille

Matt,

Somehow, the website isn't much anymore, but the app can still be 
downloaded. The trial version is almost fully functional. Perhaps this 
approach would be useful for you.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 1/27/2016 om 20:38 schreef Matt Maier:

I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without having to
navigate the file manager multiple times. There's some good screen capture
stuff already in Livecode, but what I'm picturing is an actual window with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent .png,
but that won't allow the user to resize the window. At the moment the only
mechanism I can come up with is to screencap what's behind the window every
time the user moves or resizes it and display that in the window so that it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to be able
to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for that is to
export each frame and then use something external like imagemagik to stitch
them together into an animation.

- Matt
___
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


Re: snapshot and animation capture

2016-01-27 Thread Eric Corbett
Nice Scott,

The resize is super fast.

the moveStack is slower than other moveStack scripts I have from you.

Eric
___
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


Re: snapshot and animation capture

2016-01-27 Thread Scott Rossi
Hi Matt:

I have a method for a resizable masked window that requires LC7 -- I'll
try to post something later today or tomorrow.  As far as image animation
goes, I have a very vague memory that LC used to be able to export
animated GIF images, but that may have been static images only.  You may
indeed need to go with a 3rd party option -- hopefully somebody else has a
suggestion for this.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/27/16, 11:38 AM, "use-livecode on behalf of Matt Maier"

wrote:

>I need to be able to easily capture stuff the user is seeing on their
>screen so that they can import it into my application without having to
>navigate the file manager multiple times. There's some good screen capture
>stuff already in Livecode, but what I'm picturing is an actual window with
>a hole in it the user can position and leave there so they know what's
>going to be captured multiple times. Like gifcam
>http://blog.bahraniapps.com/gifcam/
>
>There doesn't seem to be a way to set the background of a window to
>transparent. There is a way to mask the window using a transparent .png,
>but that won't allow the user to resize the window. At the moment the only
>mechanism I can come up with is to screencap what's behind the window
>every
>time the user moves or resizes it and display that in the window so that
>it
>looks like it's transparent. Is there a better way?
>
>Also, in addition to capturing still images, I'd like the user to be able
>to capture animated images (as an alternative to video). So, that part
>would be exactly like gifcam. The only mechanism I've found for that is to
>export each frame and then use something external like imagemagik to
>stitch
>them together into an animation.
>
>- Matt
>___
>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


snapshot and animation capture

2016-01-27 Thread Matt Maier
I need to be able to easily capture stuff the user is seeing on their
screen so that they can import it into my application without having to
navigate the file manager multiple times. There's some good screen capture
stuff already in Livecode, but what I'm picturing is an actual window with
a hole in it the user can position and leave there so they know what's
going to be captured multiple times. Like gifcam
http://blog.bahraniapps.com/gifcam/

There doesn't seem to be a way to set the background of a window to
transparent. There is a way to mask the window using a transparent .png,
but that won't allow the user to resize the window. At the moment the only
mechanism I can come up with is to screencap what's behind the window every
time the user moves or resizes it and display that in the window so that it
looks like it's transparent. Is there a better way?

Also, in addition to capturing still images, I'd like the user to be able
to capture animated images (as an alternative to video). So, that part
would be exactly like gifcam. The only mechanism I've found for that is to
export each frame and then use something external like imagemagik to stitch
them together into an animation.

- Matt
___
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