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 <mcgra...@mac.com>wrote: > 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 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 > > rect to local (stack) coordinates. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > > > > > Recently, Thomas McGrath III wrote: > > > >> 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 JPEG > >> > >> With document sharing on I get a black image test.jpg in iTunes and > also if I > >> try to email it etc. it is still just a black image. > >> > >> Thanks > >> > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> 3mcgr...@comcast.net > >> > >> > >> _______________________________________________ > >> 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 > -- Chipp Walters CEO, Altuit, Inc. _______________________________________________ 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