I was a little embarrassed to realize that after two months with my new computer, I had not uploaded any pictures. I had developed a really cool way to get my pictures out of iPhoto and onto my web page, inserting all the picture data into my MySQL database in the process. The problem was that my iMac G5 did not have all the extras that the method needed to work: jhead and ImageMagick.
But I was putting this off because I ran across some information that seemed to indicate I didn't need ImageMagick now that I had Panther (Mac OS X v10.3). Although I still needed jhead to extract all the EXIF data from the pictures I wanted, this means I could eliminate one external tool from the process. So I couldn't bring myself to get my process running on my new computer without tweaking it to take advatage of this.
I finally found the time to do this in early December, and posted new pictures then. Now the AppleScript uses Image Events to resize the pictures. It definitely is much faster, although I can't say how much of that is due to avoiding ImageMagick and how much is due to my new, speedy computer.
I also added some information about the .netrc file that this process depends on. I did not have that documented before in my AppleScript, which I found out when I went to try to run it on the iMac. The .netrc file contains both the password to my FTP site and the macro I created that finds the picture to upload in the appropriate directories. Thankfully, I was able to retrieve a copy of it from my old computer rather than have to figure it out again.
Comments (2)
If you had used iMagine Photo instead of Image Events it would be even quicker, and plus you could use iMagine Photo to read and or write your exif information.
I know, I know, I am the author of iMagine Photo, but it is free and far more powerful than Image Events.
http://www.yvs.eu.com/imaginephoto.html
Posted by Kevin Meaney | February 14, 2005 5:03 PM
Posted on February 14, 2005 17:03
Thanks, Kevin! I'll have to check it out. Writing EXIF information would be pretty handy.
Posted by Rob | February 14, 2005 6:45 PM
Posted on February 14, 2005 18:45