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

William de Smet williamdesmet at gmail.com
Wed Sep 17 07:35:34 EDT 2008


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