Export PNG weirdness

Chris Carroll-Davis asgg35 at dsl.pipex.com
Wed Aug 9 10:28:37 EDT 2006


Update:

I can of course make this work by grabbing the relevant portion of  
screen (rather than specifying the field):

   put globalloc (Topleft of field fname) into tl
   put globalloc (botright of field fname) into br
   export snapshot from rect tl,br to file imgPath as PNG

But this is a bit risky as I can't guarantee that there will be  
nothing on top of the field (e.g. floating palette) or that the field  
will completely contained on screen.


Chris



On 9 Aug 2006, at 14:59, Chris Carroll-Davis wrote:

>
> Hello everyone.
>
> Can anybody help with this ...
>
> I am exporting PNGs from fields, using this syntax:
>
>   export snapshot from field fname to file imgPath as PNG
>
> This works just fine on about 30 or so fields, but when I come to  
> one particular field it fails with error message:
>
>     export: can't write to file, mask file, or container
>
> All the fields are opaque.  If I switch this field to non-opaque...  
> it works fine... or if I export as JPEG it works fine!  The only  
> difference (that I can see) between this field and others is that  
> it is larger than the others.
>
> Has anyone come across this problem before?  Could there be some  
> other property that I have overlooked that is causing the problem?
>
> I am pulling my hair out at this one (and at my age I don't have  
> too much to lose)
>
>
> Chris
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list