How do I export an image with 'enforced' .jpg extension?

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Sep 17 07:41:20 EDT 2008


Hi William,

This might help:

    set the fileType to "????JPEG"

or perhaps "ogleJPEG"

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 17 sep 2008, at 13:35, William de Smet wrote:

> Hi there,
> For most of you this is an easy one!
>
> I am trying to save an image and it works as long as I don't remove  
> the
> extension while saving.
> If  I do this then OSX doesn't recognize the file!
> What do I need to do to make it work?
>
>
>
> on mouseUp
>
>  set the fileType to "oglejpeg"
>
>  ask file "Bewaar foto als:" with "*.jpg"
>
>  export img "foto" to file it  as JPEG
>
>  answer "De foto is bewaard!"
>
> end mouseup
>
>
> Greetings,
>
>
> William




More information about the use-livecode mailing list