Re: Export snapshot - is it usable on LiveCode web apps?

2024-08-10 Thread William de Smet via use-livecode
e LiveCode stack when the > user navigates away from the main card, so that the image can be used > elsewhere in the app. This works fine on iPad, but I noticed that the web > version of the app generates a javascript exception when I try to leave the > main card. On checking the d

Re: Export snapshot - is it usable on LiveCode web apps?

2024-08-08 Thread Jimmieson, Phil via use-livecode
an be used elsewhere in the app. This works fine on iPad, but I noticed that the web version of the app generates a javascript exception when I try to leave the main card. On checking the dictionary, I noticed that the export snapshot command is not listed as being supported on web. Is this correc

Re: Export snapshot - is it usable on LiveCode web apps?

2024-08-08 Thread Tom Glod via use-livecode
> > exception when I try to leave the main card. On checking the > > > dictionary, I noticed that the export snapshot command is not listed as > > > being supported on web. Is this correct? If so, is there an alternative > > > that will work for web? > >

Re: Export snapshot - is it usable on LiveCode web apps?

2024-08-08 Thread Andreas Bergendal via use-livecode
ipt > > exception when I try to leave the main card. On checking the > > dictionary, I noticed that the export snapshot command is not listed as > > being supported on web. Is this correct? If so, is there an alternative > > that will work for web? > > So 'export

Re: Export snapshot - is it usable on LiveCode web apps?

2024-08-08 Thread Mark Waddingham via use-livecode
the user navigates away from the main card, so that the image can be used elsewhere in the app. This works fine on iPad, but I noticed that the web version of the app generates a javascript exception when I try to leave the main card. On checking the dictionary, I noticed that the export snapshot

Export snapshot - is it usable on LiveCode web apps?

2024-08-08 Thread Jimmieson, Phil via use-livecode
can be used elsewhere in the app. This works fine on iPad, but I noticed that the web version of the app generates a javascript exception when I try to leave the main card. On checking the dictionary, I noticed that the export snapshot command is not listed as being supported on web. Is this

Re: Export Snapshot (macOS) and XPDF External bugs?

2022-10-27 Thread Matthias Rebbe via use-livecode
every 5, 3 and 1 minutes. In all cases it worked here. No snapshot was rotated. My export command was export snapshot from Player "myPlayer" to file ("~/downloads/livecodeexport/" & tCurrentTime & ".png") as PNG Is your snapshot command similar? Or a

Export Snapshot (macOS) and XPDF External bugs?

2022-10-27 Thread Paul Dupuis via use-livecode
Combining two unrelated topics in one message: 1) I am seeing a bug under macOS in the export snapshot (of a player object) command. This is under LC 9.6.7 (and I think 9.6.8). We have a routine that takes a list of time codes in a movie, loads the movie into a player object, set the

Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Paul Dupuis via use-livecode
There are apparently no work-arounds for the failure of this version of the export snapshot on Windows 10/11 I've tried:     -- method that does not work on Windows, but works on macOS with player hidden [A REQUIREMENT]     put the rect of player "myPlayer" into tRect     expor

Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Paul Dupuis via use-livecode
as a file to see if that made any difference. export snapshot from rect tRect of player "mediaConvert" of stack "libHrAPI" to file [filepath/filename.png] as PNG I got an image file but it is the same as what you see in the image object on the stack — an i

Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Martin Koob via use-livecode
Hi Paul I just tried the same thing and got the same result. It works on Mac, not on Windows. I also tried exporting the image as a file to see if that made any difference. export snapshot from rect tRect of player "mediaConvert" of stack "libHrAPI&quo

LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-27 Thread Paul Dupuis via use-livecode
I am executing the following 2 lines of code:   export snapshot from rect tRect of player "mediaConvert" of stack "libHrAPI" to tImage as PNG   put tImage into img "imageConvert" of stack "libHrAPI" Prior to the export

Re: export snapshot woverwrites variable?

2020-12-10 Thread Klaus major-k via use-livecode
Hi Mark, > Am 10.12.2020 um 15:25 schrieb Mark Waddingham via use-livecode > : > > On 2020-12-10 13:55, Klaus major-k via use-livecode wrote: >> Hi friends, >> ## Doing this again fixes the inconvenience and I can continue: >> put dasObjekt() into tObject >> ... >> Funky, funky!? > Nope - not fu

Re: export snapshot woverwrites variable?

2020-12-10 Thread Mark Waddingham via use-livecode
On 2020-12-10 13:55, Klaus major-k via use-livecode wrote: Hi friends, ## Doing this again fixes the inconvenience and I can continue: put dasObjekt() into tObject ... Funky, funky!? Nope - not funky. Container syntax can be either a variable (with array indices or without), or an object ch

Re: export snapshot woverwrites variable?

2020-12-10 Thread Klaus major-k via use-livecode
2020, at 8:56 AM, Klaus major-k via use-livecode >> wrote: >> Hi friends, >> just found a very strange thing... >> I have this script: >> ... >> put dasObjekt() into tObject >> ## returns in this special case -> image "Bild_1" >> flip

Re: export snapshot woverwrites variable?

2020-12-10 Thread Klaus major-k via use-livecode
;> >> just found a very strange thing... >> I have this script: >> ... >> put dasObjekt() into tObject >> ## returns in this special case -> image "Bild_1" >> >> flip tObject horizontal >> # Overwrite image data >> export snapshot

Re: export snapshot woverwrites variable?

2020-12-10 Thread Brian Milby via use-livecode
und a very strange thing... > I have this script: > ... > put dasObjekt() into tObject > ## returns in this special case -> image "Bild_1" > > flip tObject horizontal > # Overwrite image data > export snapshot from rect(the rect of tObject) of tObject to tObje

export snapshot woverwrites variable?

2020-12-10 Thread Klaus major-k via use-livecode
Hi friends, just found a very strange thing... I have this script: ... put dasObjekt() into tObject ## returns in this special case -> image "Bild_1" flip tObject horizontal # Overwrite image data export snapshot from rect(the rect of tObject) of tObject to tObject as PNG ## But

Re: Export snapshot and errors...

2019-10-01 Thread Bob Sneidar via use-livecode
Thanks Paul. They should replace the dictionary description with your version, as yours makes a LOT more sense! I read the dictionary too, but came away confused. Bob S > On Oct 1, 2019, at 08:59 , Paul Dupuis via use-livecode > wrote: > > According to the Dictionary, if I am reading it cor

Re: Export snapshot and errors...

2019-10-01 Thread Paul Dupuis via use-livecode
According to the Dictionary, if I am reading it correctly, in a command (vs function) return empty -- sets both 'it' and 'the result' to the parameter of the return statement (in this case empty) return empty for value -- sets 'it' to the parameter (empty) and clears 'the result' indicating no

Re: Export snapshot and errors...

2019-10-01 Thread Bob Sneidar via use-livecode
Is the for error necessary? I just return empty. Bob S > On Oct 1, 2019, at 06:02 , Paul Dupuis via use-livecode > wrote: > > command clearResult > return empty for error > end clearResult ___ use-livecode mailing list use-livecode@lists.runrev

Re: Export snapshot and errors...

2019-10-01 Thread Paul Dupuis via use-livecode
On 10/1/2019 8:58 AM, Paul Dupuis via use-livecode wrote: In LC905rc1, the Dictionary entry for Export Snapshot does not appear to indicate how any error value is returned (for example if the file can not be written) the result is not cleared after an export snapshot - i.e. put the result

Export snapshot and errors...

2019-10-01 Thread Paul Dupuis via use-livecode
In LC905rc1, the Dictionary entry for Export Snapshot does not appear to indicate how any error value is returned (for example if the file can not be written) the result is not cleared after an export snapshot - i.e. put the result into tTemp1 -- if this put "X" in tTemp1 export sna

Re: Export Snapshot

2019-09-18 Thread Bob Sneidar via use-livecode
+1 Never leave anything to chance (if you can help it). Bob S > On Sep 18, 2019, at 09:54 , Richard Gaskin via use-livecode > wrote: > > Richmond wrote: > > > I should like just to say how grateful that *export snapshot* > > on Macintosh does NOT dump the re

Re: Export Snapshot

2019-09-18 Thread Richmond via use-livecode
I never joined the Ramblers' Club. :) On 18.09.19 19:54, Richard Gaskin via use-livecode wrote: Richmond wrote: > I should like just to say how grateful that *export snapshot* > on Macintosh does NOT dump the resultant image inside the LC > app package any more (9.5.0). > As

Re: Export Snapshot

2019-09-18 Thread Richard Gaskin via use-livecode
Richmond wrote: > I should like just to say how grateful that *export snapshot* > on Macintosh does NOT dump the resultant image inside the LC > app package any more (9.5.0). > As an inveterate use of *export snapshot* this means a lot to me. Acquiring a habit of using full paths f

Re: Export Snapshot

2019-09-18 Thread Richmond via use-livecode
On Wed, Sep 18, 2019 at 3:57 AM Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: I should like just to say how grateful that *export snapshot* on Macintosh does NOT dump the resultant image inside the LC app package any more (9.5.0). As an inveterate use of *export s

Re: Export Snapshot

2019-09-18 Thread Klaus major-k via use-livecode
hmond via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I should like just to say how grateful that *export snapshot* >> on Macintosh does NOT dump the resultant image inside the LC app package >> any more (9.5.0). >> As an inveterate use of *export sna

Re: Export Snapshot

2019-09-18 Thread Tom Glod via use-livecode
are you sure it wasn't just dumping it into the "defaultfolder" wherever that may be? and not specifically inside the app package? On Wed, Sep 18, 2019 at 3:57 AM Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > I should like just to say how gratef

Export Snapshot

2019-09-18 Thread Richmond via use-livecode
I should like just to say how grateful that *export snapshot* on Macintosh does NOT dump the resultant image inside the LC app package any more (9.5.0). As an inveterate use of *export snapshot* this means a lot to me. Richmond. ___ use-livecode

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > Thanks for the suggestion. > > I modified my code to read like this: > > *on**mouseUp* > > ** > > ***export**snapshot from **group**"horror" **to**file "TestExport.png" > as PNG* > > ** > > ***putthe*

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Richmond Mathewson via use-livecode
Thanks for the suggestion. I modified my code to read like this: *on**mouseUp* ** ***export**snapshot from **group**"horror" **to**file "TestExport.png" as PNG* ** ***puttheresult* ** *end**mouseUp * *and the Message Box oponed, displaying nothing. * *Ric

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is > automatically set to > > /Users/richmondmathewson/LiveCode > > and exported snapshots end up there unless I specify otherwise. > > If I export a snapshot using the Message Box I get an acknoewledgemen

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Brian Milby via use-livecode
Try this: put the defaultfolder My guess is that it is now a non-writable destination which is why you are not seeing a new file. On Mon, Nov 27, 2017 at 12:13 PM Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Richmond Mathewson via use-livecode
With LC 7.1.4 on Mac OS 10.7.5 the default folder on my machine is automatically set to /Users/richmondmathewson/LiveCode and exported snapshots end up there unless I specify otherwise. If I export a snapshot using the Message Box I get an acknoewledgement "true". In 8.1.4 upwards the IDE d

Re: "export snapshot" still NOT in 8.1.7

2017-11-26 Thread Ali Lloyd via use-livecode
Could you explain in what way it doesn't work? Does it throw an execution error? I notice you don't specify a full path or set the defaultFolder- perhaps it is getting exported somewhere odd. (Works with macOS 10.12.6, 8.2.0 DP 2 Community) On Sun, Nov 26, 2017 at 6:23 PM Richmond Mathewson via u

Re: "export snapshot" still NOT in 8.1.7

2017-11-26 Thread Richmond Mathewson via use-livecode
Please can everyone help: http://forums.livecode.com/viewtopic.php?f=6&t=30220 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lis

Re: "export snapshot" still NOT in 8.1.7

2017-11-26 Thread Richmond Mathewson via use-livecode
Well, that's lovely for you. No joy "over here" on Mac OS 10.7.5 (which LiveCode states that 8.1.7 supports). Richmond Mathewson. On 26/11/17 6:13 pm, Roger Guay via use-livecode wrote: Works for me. Mac OS 10.13.1 LC 8.1.7 Roger On Nov 26, 2017, at 7:45 AM, Richmond Mathewson via use-li

Re: "export snapshot" still NOT in 8.1.7

2017-11-26 Thread Roger Guay via use-livecode
Works for me. Mac OS 10.13.1 LC 8.1.7 Roger > On Nov 26, 2017, at 7:45 AM, Richmond Mathewson via use-livecode > wrote: > > Nor in 8.1.8 rc 2 > > Tut, tut! > > Richmond. > > On 26/11/17 5:29 pm, Richmond Mathewson wrote: >> On a Macintosh. >> >> Richmond. > > ___

Re: "export snapshot" still NOT in 8.1.7

2017-11-26 Thread Richmond Mathewson via use-livecode
Nor in 8.1.8 rc 2 Tut, tut! Richmond. On 26/11/17 5:29 pm, Richmond Mathewson wrote: On a Macintosh. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

"export snapshot" still NOT in 8.1.7

2017-11-26 Thread Richmond Mathewson via use-livecode
On a Macintosh. 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: 8.1.4 Export snapshot

2017-06-28 Thread Paul Hibbert via use-livecode
> > I have tried in LC 8.1.5 RC-2: > > export snapshot from Field 1 to file "File1.png" as PNG > > This works as expected, and creates a "File1.png" in **the defaultFolder** > (in my case in /Applications/LiveCode Indy 8.1.5 (rc 2).app) > > @Paul

Re: 8.1.4 Export snapshot

2017-06-28 Thread panagiotis merakos via use-livecode
Hi all, I have tried in LC 8.1.5 RC-2: export snapshot from Field 1 to file "File1.png" as PNG This works as expected, and creates a "File1.png" in **the defaultFolder** (in my case in /Applications/LiveCode Indy 8.1.5 (rc 2).app) @Paul Can you "put the defaultFolder&

Re: 8.1.4 Export snapshot

2017-06-28 Thread Richmond Mathewson via use-livecode
), then it does work: export snapshot from group "abc" to file "/Users/paulhibbert/Desktop/abc.png" as PNG However, I would have expected an error or at least something in the result with your example, but they were both empty when I tried: on mouseUp try export snap

Re: 8.1.4 Export snapshot

2017-06-28 Thread Paul Hibbert via use-livecode
This looks like it may be a bug on Mac OS, or just a difference in the way the OS works. I see the same problem using LC 8.1.5(rc1) on Mac OS Sierra 10.12.4, but if I give the file a more complete path (which I would normally do), then it does work: export snapshot from group "abc&quo

Re: 8.1.4 Export snapshot

2017-06-28 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > Mac OS 10.7.8 > > in LC 7.1.4 if I type this sort of thing into the Message box: > > export snapshot from group "abc" to file "abc.png" as PNG > > it exports a snapshot of my group! > > But that doesn't work in 8.1.

8.1.4 Export snapshot

2017-06-28 Thread Richmond Mathewson via use-livecode
Mac OS 10.7.8 in LC 7.1.4 if I type this sort of thing into the Message box: export snapshot from group "abc" to file "abc.png" as PNG it exports a snapshot of my group! But that doesn't work in 8.1.4. Richmond. ___ use-

Re: LC DP5 - export snapshot from grp tGroupNme to file tMyFile as JPEG is not working anymore

2017-04-13 Thread Matthias Rebbe via use-livecode
ng? > > This line of code > > export snapshot from grp tGroupWatermarked to file tMyJpegFile as JPEG > > worked w/o problem in older LC versions. But in LC9 DP5 i get the following > error > button "Button": execution error at line 3 (export: Empty rectangle), ch

LC DP5 - export snapshot from grp tGroupNme to file tMyFile as JPEG is not working anymore

2017-04-13 Thread Matthias Rebbe via use-livecode
Hi, am i missing something? This line of code export snapshot from grp tGroupWatermarked to file tMyJpegFile as JPEG worked w/o problem in older LC versions. But in LC9 DP5 i get the following error button "Button": execution error at line 3 (export: Empty rectangle), char 1 W

Re: Import or export snapshot at current scaleFactor

2017-04-05 Thread Terry Judd via use-livecode
e width of grp 1 * 2),(the height of grp 1 * 2) If that produces an the image you need just change the command to an export snapshot command. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Import or export snapshot at current scaleFactor

2017-04-05 Thread Jim Lambert via use-livecode
width of grp 1 * 2),(the height of grp 1 * 2) If that produces an the image you need just change the command to an export snapshot command. Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Import or export snapshot at current scaleFactor

2017-04-05 Thread Terry Judd via use-livecode
use ‘export snapshot from ’ to create the images but they are produced at ‘normal’ resolution. The workaround (I don’t want to have to recreate everything at a larger scale because I’m also using the same LC controls to print to pdfs directly) is to use the ‘export snapshot from rect’ but that

Re: export snapshot

2016-11-06 Thread Paul Hibbert
> On Nov 6, 2016, at 11:54 AM, hh wrote: > > Tested to work here in LC 9.0.0-dp1 on > > MacOS 10.12.1 > Win 7/10 > Linux (Mint173) > > on mouseUp > put specialfolderPath(home)&"/test.png" into sph > export snapshot from img "test"

Re: export snapshot

2016-11-06 Thread hh
Tested to work here in LC 9.0.0-dp1 on MacOS 10.12.1 Win 7/10 Linux (Mint173) on mouseUp put specialfolderPath(home)&"/test.png" into sph export snapshot from img "test" to file sph as PNG end mouseUp So you could test whether you have write permission in the

Re: export snapshot

2016-11-06 Thread Paul Hibbert
> On Nov 6, 2016, at 3:27 AM, Richmond <mailto:richmondmathew...@gmail.com>> wrote: > > I wonder why? It seems the ‘export snapshot from’ doesn’t like the ‘img’ form, whereas, in a simple experiment the following does work in LC8.1.1(rc2); export snapshot from control &quo

Re: export snapshot

2016-11-06 Thread Mark Wieder
On 11/06/2016 03:31 AM, Peter TB Brett wrote: Because the correct syntax is: export snapshot of img "met" to file "met.png" as png My reading of the syntax from the documentation allows the 'from object' form: export snapshot [from rect[angle] rectangle]

Re: export snapshot

2016-11-06 Thread Richmond
So: when I did as you instructed I got this: Script compile error: Error description: export: missing 'to' Richmond. On 6.11.2016 13:31, Peter TB Brett wrote: On 06/11/2016 11:27, Richmond wrote: I tried this: export snapshot from img "met" to file "met.png" as

Re: export snapshot

2016-11-06 Thread Richmond
Thanks: although I have been using "from" for years with no problems at all: I can only conclude that 8.1 is "fussier" than 7.1.4 Richmond. On 6.11.2016 13:31, Peter TB Brett wrote: On 06/11/2016 11:27, Richmond wrote: I tried this: export snapshot from img "met&

Re: export snapshot

2016-11-06 Thread Peter TB Brett
On 06/11/2016 11:27, Richmond wrote: I tried this: export snapshot from img "met" to file "met.png" as PNG and that worked in 7.1.4 but did NOT work in 8.1 I wonder why? Because the correct syntax is: export snapshot of img "met&

export snapshot

2016-11-06 Thread Richmond
I tried this: export snapshot from img "met" to file "met.png" as PNG and that worked in 7.1.4 but did NOT work in 8.1 I wonder why? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Re: Export snapshot question...

2015-11-08 Thread Paul Dupuis
On 11/8/2015 4:39 PM, Richard Gaskin wrote: > Richmond wrote: > >> I wonder if, instead of doing /export snapshot from stack xxx/ you might >> not be better doing /export snapshot from card zzz/: my experience >> of doing the thing from the stack has not been altogether sa

Re: Export snapshot question...

2015-11-08 Thread Richard Gaskin
Richmond wrote: I wonder if, instead of doing /export snapshot from stack xxx/ you might not be better doing /export snapshot from card zzz/: my experience of doing the thing from the stack has not been altogether satisfactory . . . Oops . . . haven't tried that since DreamCard 2.6 (rem

Re: Export snapshot question...

2015-11-07 Thread J. Landman Gay
On 11/7/2015 10:59 PM, Paul Hibbert wrote: On Nov 7, 2015, at 4:46 PM, Paul Dupuis wrote: On 11/7/2015 1:46 PM, Paul Hibbert wrote: Yes this is the expected behaviour. Export snapshot from rect is not be able to take a snapshot of something "off-screen” because it’s not rendered b

Re: Export snapshot question...

2015-11-07 Thread Paul Hibbert
> On Nov 7, 2015, at 4:46 PM, Paul Dupuis wrote: > > On 11/7/2015 1:46 PM, Paul Hibbert wrote: >> Yes this is the expected behaviour. Export snapshot from rect is not be able >> to take a snapshot of something "off-screen” because it’s not rendered by >> the

Re: Export snapshot question...

2015-11-07 Thread Paul Dupuis
On 11/7/2015 1:46 PM, Paul Hibbert wrote: > Yes this is the expected behaviour. Export snapshot from rect is not be able > to take a snapshot of something "off-screen” because it’s not rendered by the > display. > > Export snapshot from rect uses the device's dis

Re: Export snapshot question...

2015-11-07 Thread Paul Hibbert
Yes this is the expected behaviour. Export snapshot from rect is not be able to take a snapshot of something "off-screen” because it’s not rendered by the display. Export snapshot from rect uses the device's display output to render the image, but if you use Export snapshot of an obj

Export snapshot question...

2015-11-07 Thread Paul Dupuis
I am using the "export snapshot from rect tRect to ... " for of the export snapshot command to export the interior of a stack window where and External has drawn in the window. tRect is set to the global (screen) coordinates of the interior area of the window based on its current posit

Re: Re: Export snapshot and native controls

2015-10-16 Thread Paul Hibbert
> >> Le 15 oct. 2015 à 17:55, Paul Hibbert a écrit : >> >> Bill is spot on, try… >> >> export snapshot from this cd to file tFile as JPEG >> >> Paul > > > Export snapshot from group … give me a screenshot without native cont

Re: Re: Export snapshot and native controls

2015-10-15 Thread Ludovic THEBAULT
> Le 15 oct. 2015 à 17:55, Paul Hibbert a écrit : > > Bill is spot on, try… > > export snapshot from this cd to file tFile as JPEG > > Paul Export snapshot from group … give me a screenshot without native controls just as your solution. It seem

Re: Export snapshot and native controls

2015-10-15 Thread Paul Hibbert
Bill is spot on, try… export snapshot from this cd to file tFile as JPEG Paul > On 15 Oct 2015, at 08:50, Earthednet-wp wrote: > > Ludevic, > > I found that it's better to put the area you want to take a snapshot of, in a > group and take the snapshot of the group. L

Re: Export snapshot and native controls

2015-10-15 Thread Earthednet-wp
fice, but can supply example code f you need it. Bill William Prothero http://es.earthednet.org > On Oct 14, 2015, at 10:27 PM, Ludovic THEBAULT > wrote: > > Hello, > > Livecode 6.77 > > When i create a snapshot with this script : > > export snapshot from r

Export snapshot and native controls

2015-10-14 Thread Ludovic THEBAULT
Hello, Livecode 6.77 When i create a snapshot with this script : export snapshot from rectangle theRect of this cd to file… I’ve the correct snapshot but all natives controls are gone ! And if i use this script : export snapshot from rectangle theRect to file… I’ve only the natives controls

Re: export snapshot with acceleratedRendering

2015-09-04 Thread Paul Hibbert
> On Sep 4, 2015, at 12:30, Dan Friedman wrote: > > So, the screen must not be locked, and acceleratedRendering must be off. > Not sure if you call that a bug or not... but it's working. Hope I don't > have issues when I try it on Android. or… export s

Re: export snapshot with acceleratedRendering

2015-09-04 Thread Dan Friedman
Mark, Ok... I found the combination that works. This assumes you have opened a stack and acceleratedRendering is enabled: THIS FAILS (produces a grey image): lock screen export snapshot from rect (the rect of this card) to pictVariable as PNG //do some stuff unlock screen THIS FAILS: export

Re: export snapshot with acceleratedRendering

2015-09-04 Thread Dan Friedman
Mark, Thanks for the help but 'the rect of this card' produced the same result a grey image. Any other thoughts? -Dan > Try doing from rect ... of this card. I think the form you are using is doing > a screen buffer grab, which doesn't play so well with the OpenGL surface > accelerated

Re: export snapshot with acceleratedRendering

2015-09-04 Thread Mark Waddingham
uffer. Mark Sent from my iPhone > On 4 Sep 2015, at 18:29, Dan Friedman wrote: > > On either the iPhone simulator or an actual device, if acceleratedRendering > is enabled and I do: > >export snapshot from rect (the rect of this card) to pictVariable as PNG > > I get a

export snapshot with acceleratedRendering

2015-09-04 Thread Dan Friedman
On either the iPhone simulator or an actual device, if acceleratedRendering is enabled and I do: export snapshot from rect (the rect of this card) to pictVariable as PNG I get a solid grey image. If I never enable acceleratedRendering, then the image comes out fine. It seems that

Re: Export Snapshot

2014-10-28 Thread Eric Corbett
Hi Peter, Try resetting the templateImage before the export. - eric On Oct 28, 2014, at 11:00 AM, Peter Haworth wrote: > I'm noticing that if I export a snapshot from a group as PNG, the resulting > image has a black background, not the background of the group. Small > sample size, just 2 gro

Export Snapshot

2014-10-28 Thread Peter Haworth
I'm noticing that if I export a snapshot from a group as PNG, the resulting image has a black background, not the background of the group. Small sample size, just 2 groups so far, but why is that happening? Pete lcSQL Software Home of lcStackBrowser

Re: Import/Export Snapshot

2014-04-11 Thread Stephen MacLean
Hi John, I have an app that uses mergMK as well. I use export snapshot instead of import snapshot, but haven’t tested that part of it since the release of 6.6 due to finishing other parts… but will do that this weekend! I’ve had issues with using snapshot on a card with a mergMK map on it

Import/Export Snapshot

2014-04-11 Thread John Dixon
Is anybody able to use import or export snapshot under iOS in any liveCode release after 6.5.2 ? If you can, would you please let me know how you are doing it... In 6.5.2 in am taking a snapshot, showing it on the card at the same time as hiding a map... it is seamless, everything works

Re: new "at size" clause in export snapshot

2014-03-31 Thread Chris Sheffield
> - create a new stack > - drag an image and a button on it > - set the button script to: > ## > on mouseUp > local tObj, tData, tHeight, tWidth > put the long id of me into tObj > put 4 * the height of tObj into tHeight > put 4 * the width of tObj into tWidth >

Re: new "at size" clause in export snapshot

2014-03-28 Thread Jan Schenkel
j put 4 * the height of tObj into tHeight put 4 * the width of tObj into tWidth export snapshot from tObj at size tWidth, tHeight to tData as PNG put tData into image 1 end mouseUp ## Click on the button and the image gets set without any issues. Jan Schenkel. = Quartam Reports & P

Re: new "at size" clause in export snapshot

2014-03-28 Thread Chris Sheffield
ause needs to come after the 'from' clause and before the 'to' clause. > > A quick test showed that the following variant compiles and works: > ## > export snapshot from tObj at size tWidth, tHeight to tData as PNG > ## > > In other words, you should go to the

Re: new "at size" clause in export snapshot

2014-03-28 Thread Jan Schenkel
to' clause. A quick test showed that the following variant compiles and works: ## export snapshot from tObj at size tWidth, tHeight to tData as PNG ## In other words, you should go to the Quality Center and file a report. RunRev needs to either update the dictionary or the parser code :-) HTH

RE: new "at size" clause in export snapshot

2014-03-28 Thread John Dixon
ever, that there were a few bug reports regarding 'export snapshot' and I saw a comment at the bottom of one that said it would be fixed in the next release... so, have you tried your script using LC 6.7 (dp 1) ? > Actually, the release notes do show an example using import snapshot. I

Re: new "at size" clause in export snapshot

2014-03-28 Thread Thierry Douez
2014-03-28 18:59 GMT+01:00 Chris Sheffield : > Has anybody tried out the new “at size” clause in the export snapshot command > introduced in LC 6.6? I can’t get it to work. In fact, my script won’t even > compile if I include it. > > export snapshot from tObj to tData

Re: new "at size" clause in export snapshot

2014-03-28 Thread Chris Sheffield
Actually, the release notes do show an example using import snapshot. I might be able to use that instead, but my call to export snapshot is set up exactly the same way, so not sure why it won’t work… On Mar 28, 2014, at 11:59 AM, Chris Sheffield wrote: > Has anybody tried out the new

new "at size" clause in export snapshot

2014-03-28 Thread Chris Sheffield
Has anybody tried out the new “at size” clause in the export snapshot command introduced in LC 6.6? I can’t get it to work. In fact, my script won’t even compile if I include it. export snapshot from tObj to tData as PNG at size tWidth, tHeight I’ve tried various uses of parentheses

Re: Export Snapshot - bug fixed in 6.5.2?

2014-01-24 Thread Ray
dows 8.1; the following line of script works sometimes: export snapshot from rect myGlobalRect to myImageData as PNG but other times it gives me this error: stack "My Stack": execution error at line 5 (export: no image selected, or image not open), char 1 The key thing her

Export Snapshot

2014-01-24 Thread Ray
I may have found an intermittent bug in 6.5.1 using Windows 8.1; the following line of script works sometimes: export snapshot from rect myGlobalRect to myImageData as PNG but other times it gives me this error: stack "My Stack": execution error at line 5 (export: no image se

Export Snapshot on Windows

2013-05-15 Thread Marty Knapp
I'm working on an app where I use the export snapshot on 3 different cards, placing these images into a temp stack, one after the other. Then I export a composite of the three images to file. The temp stack I place off-screen, then delete the stack when I'm done exporting. On Mac

AW: program crash on export snapshot

2012-10-26 Thread Tiemo Hollmann TB
26. Oktober 2012 10:04 > An: 'How to use LiveCode' > Betreff: program crash on export snapshot > > Hi all, > > I have a customer with a MacBook Pro, OSX 10.6.8, where my program crashes > when creating a snapshot from a video. The same program runs fine at all > othe

program crash on export snapshot

2012-10-26 Thread Tiemo Hollmann TB
t two statements (everything else is "standard internal LC handling"), which could cause the crash are: set the alwaysBuffer of player "myPlayer" to true export snapshot from rect tRect to tScreenshot as PNG Does perhaps anybody has experienced crashes related to these

Re: Export Snapshot

2012-09-22 Thread Mark Schonewille
Hi Graham, export snapshot from rect (the rect of control x) to myVar as JPEG set the text of img y to myVar However, since you're exporting an image, why don't you put img x into img y? You could also use the import snapshot command, which creates a new image. -- Best rega

Re: Export Snapshot

2012-09-22 Thread Graham Samuel
mages extracted from existing displays (I'm using one of them quite successfully) but export snapshot seems so neat. As I am clearly in a more than usually stupid phase (or the machinery is running down faster than usual), can you explain how I can make an image out of my snapshot

Re: Export Snapshot

2012-09-21 Thread Richmond
On 09/21/2012 10:58 PM, Graham Samuel wrote: The following give a compiler error (bad image or image type expression) but I can't see why: export snapshot from rect theRect of img "C25" to img "targetImage" as JPG presumably ??? to FILE "targetImage" as JP

Re: Export Snapshot

2012-09-21 Thread Mark Schonewille
, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 21 sep 2012, at 21:58, Graham Samuel wrote: > The following give a compiler error (bad image or image type expression) but > I can't see why: > > export snapshot from rect theRect of img "C25"

Export Snapshot

2012-09-21 Thread Graham Samuel
The following give a compiler error (bad image or image type expression) but I can't see why: export snapshot from rect theRect of img "C25" to img "targetImage" as JPG I suppose it's obvious, but I can't work out from the LiveCode dictionary what I&#

Re: export snapshot on iOS results in black image file

2012-07-15 Thread Thomas McGrath III
I just tried: export image "image" to file (tFolder&"/test.jpg") as JPEG and it works now. Strange. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url t

  1   2   >