"Snapshot" not working anymore

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ThatOneGuy
Posts: 77
Joined: Fri Jan 04, 2013 9:57 am

"Snapshot" not working anymore

Post by ThatOneGuy » Mon Dec 16, 2013 6:49 am

I'm not sure if it's just me, but neither "Import snapshot" or "export snapshot" work at all anymore.
Trying to import a snapshot (even trying all of the examples posted in the dictionary) has no effect and no result. Just nothing happens at all.
Trying to export a snapshot (again trying all of the examples in the dictionary) always results in an error. Something about not having an image selected or some other such nonsense.

Here's an example copied from the dictionary with the error that occurred:

export snapshot from rect "0,0,200,200" to file "Nav.jpg" as JPEG
Error description: export: no image selected, or image not open

Any ideas?

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: "Snapshot" not working anymore

Post by Dixie » Mon Dec 16, 2013 8:47 am

Hi...

It's working here...
Attachments
exportSnap.livecode.zip
(116.62 KiB) Downloaded 259 times

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: "Snapshot" not working anymore

Post by [-hh] » Mon Dec 16, 2013 1:27 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:53 pm, edited 1 time in total.
shiftLock happens

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: "Snapshot" not working anymore

Post by Dixie » Mon Dec 16, 2013 4:16 pm

h-h...
But using unmodified dixie's stack I got an empty jpeg file and the error code (in console window)
Tell me how you had to modify the stack, as, as I mentioned exporting the image for me is not a problem... using OSX 10.9 & LC 6.5...

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: "Snapshot" not working anymore

Post by [-hh] » Mon Dec 16, 2013 4:46 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:53 pm, edited 1 time in total.
shiftLock happens

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: "Snapshot" not working anymore

Post by bn » Mon Dec 16, 2013 4:59 pm

Hi,

Dixie's stack works for me right out of the box.
MacOSX 10.6.8

Livecode 6.1.3 and Livecode 6.5.1(RC1)

Kind regards
Bernd

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: "Snapshot" not working anymore

Post by [-hh] » Mon Dec 16, 2013 9:21 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:53 pm, edited 1 time in total.
shiftLock happens

ThatOneGuy
Posts: 77
Joined: Fri Jan 04, 2013 9:57 am

Re: "Snapshot" not working anymore

Post by ThatOneGuy » Mon Dec 16, 2013 11:10 pm

I should have mentioned I'm using Windows 7 and LiveCode 6.5.

Dixie's stack does not work at all for me. Same error as in the original post and no files are created.

It sounds like it sometimes works on Mac from what everyone here is saying, but is not compatible with Windows anymore.

This may need to be added as a bug.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: "Snapshot" not working anymore

Post by [-hh] » Mon Dec 16, 2013 11:53 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 1:52 pm, edited 1 time in total.
shiftLock happens

ThatOneGuy
Posts: 77
Joined: Fri Jan 04, 2013 9:57 am

Re: "Snapshot" not working anymore

Post by ThatOneGuy » Thu Dec 19, 2013 2:53 am

Bug report has been submitted!

We'll see if they follow my advice and revert whatever changes have been made to the snapshot script. That would be the easy solution.
If the old code worked just fine on all desktop platforms, then I wouldn't be too upset with the next update containing some old code.

Post Reply