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

Re: export snapshot on iOS results in black image file

2012-07-15 Thread Chipp Walters
Here's what worked for me on Android: set the jpegQuality to 100 put specialFolderPath("documents") & "/temp.jpg" into tPath export snapshot from group "tempGrp" to file tPath as JPEG On Sun, Jul 15, 2012 at 10:43 PM, Thomas McGrath III wrote: > Nope, no black regions and I did try the

Re: export snapshot on iOS results in black image file

2012-07-15 Thread Chipp Walters
Tom, I seem to remember reading export snapshot only works on objects for mobile. So try exporting the image, or group the image and eport the group. That's how I did it onAndroid. On Sunday, July 15, 2012, Scott Rossi wrote: > Do you have any black regions displayed on your screen? Because I'm

Re: export snapshot on iOS results in black image file

2012-07-15 Thread Thomas McGrath III
Nope, no black regions and I did try the objet version as well as a bunch of other varieties I also tried (0,0,200,200) as well. No luck. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jul 15, 2012, at 10:35 PM, Scott Rossi wrote: > Do you have any black regions displaye

Re: export snapshot on iOS results in black image file

2012-07-15 Thread Scott Rossi
Do you have any black regions displayed on your screen? Because I'm pretty sure that, with your current script, you're capturing global screen coordinates, even though you've specified an object's rect. You either need to use the snapshot form that references a specific object, or convert your re

export snapshot on iOS results in black image file

2012-07-15 Thread Thomas McGrath III
Has anyone run into an issue where exporting a snapshot on iOS results in a black image file? Here is the very simple code I am using: put specialFolderPath("documents") into tFolder put the rect of image "image" into tRect export snapshot from rect tRect to file (tFolder&"/test.jpg") as