export snapshot on iOS results in black image file
Thomas McGrath III
mcgrath3 at mac.com
Sun Jul 15 23:43:07 EDT 2012
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
3mcgrath at 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
>> 3mcgrath at comcast.net
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list