• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting images from one format to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting images from one format to another


  • Subject: Re: Converting images from one format to another
  • From: Bastiaan Boertien <email@hidden>
  • Date: Tue, 1 Aug 2006 14:02:46 +0200

Hi Romy,

First I'm a little familiar with image conversion.

It depends on wich mime-type you wish to convert. There are several ways to convert.

Applescript's images events. With this you can convert the images like psd, tif, jpg, bmp, etc....

in the folder /system/library/printers/library/ there is an tool convert. I use this to convert postscript files to pdf. Don't know exactly what else you can do with it. Can convert with do shell script

I have also installed Ghostscript 8.5. I use this for converting postscript to image and visa versa.

If you want to convert only png to jpeg I should use image events.

code is like this

tell application "image events"
set theImage to open image theFile
save image theImage as JPEG
close theImage
end

Greetings bastiaan

Op 1-aug-2006, om 6:14 heeft Romy Opena het volgende geschreven:

Hi List,

I am seeking the kind help of someone who is familiar with image
conversion.

I often convert images such as .png to .jpeg and normally use the
"save as" command in Preview. Yes, I know, it is a very tedious job
especially when there are many items to change. I have no doubt that
this is a very good candidate for scripting.

My question is: Is there a Unix command that can be wrapped in a do
shell script that would do the job?

If so, could someone show me what that command would be and how it
would look in a do shell script line?

If there is no Unix command usable in a do shell wrap, what is the
next ideal solution?

Many thanks.

Romy Opena

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Converting images from one format to another
  • Next by Date: Re: Problem with simple finder script- make new file, open for access
  • Previous by thread: Re: Converting images from one format to another
  • Next by thread: Re: Problem with simple finder script- make new file, open for access
  • Index(es):
    • Date
    • Thread