Export Snapshot and JPEG problems

Ian McKnight iangmcknight at googlemail.com
Thu Mar 12 14:53:04 EDT 2009


Thanks for getting back to me Scott. I had an idea it was something
like that - I'll give your solution a try.





2009/3/12 Scott Rossi <scott at tactilemedia.com>:
> Recently, Ian McKnight wrote:
>
>> I want to export an image of the finished group and have used these
>> commands to produce an image of the axes as seen on screen.
>>
>> export snapshot from grp theDefaultGrpName to file theFileName as PNG
>> export snapshot from grp theDefaultGrpName to file theFileName as GIF
>>
>> However, try as I might, I can't get this version to work
>>
>> export snapshot from grp theDefaultGrpName to file theFileName as JPEG
>>
>> because the exported image is displayed with a black background.
>
> The issue you're probably running into is that 1) when exporting a snapshot
> from a group, Rev will capture the transparency that is created by multiple
> objects being surrounded by empty space and 2) JPEG does not inherently
> support transparency.  I would guess that placing some kind of background in
> the group behind your graph (a graphic or image) would be enough to solve
> the problem.  Alternatively, you could try the following, which should
> capture the portion of the card that is behind the group:
>
>  export snapshot from rect (rect of grp theDefaultGrpName) of this cd \
>   to file theFileName as JPEG
>
> Hope this helps.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> _______________________________________________
> 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
>



-- 
Regards


Ian McKnight

iangmcknight at googlemail.com
=======================



More information about the use-livecode mailing list