Re: long shot..
Re: long shot..
- Subject: Re: long shot..
- From: Kevin Walzer <email@hidden>
- Date: Tue, 04 Oct 2005 10:59:16 -0400
- Organization: WordTech Software
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is a case where open-source software is your friend.
I suggest you check out this site:
http://www.remotesensing.org/libtiff/
This is the site of a standard graphics library, libtiff, which also
includes a lot of command-line tools for TIFF image manipulation,
including "tiff2pdf." That sounds like exactly what you are looking for.
You'll need to download the library (there's a link to an FTP site--just
copy the folder "tiff-3.7.4.zip" to your desktop), unzip it, and then
build it yourself from source. The Macintosh instructions on the site
are very out of date (focusing on CodeWarrior and MPW). The Unix
instructions say to run "configure, make, sudo make install"--standard
Unix command-line building instructions. I tried it and it installed
fine on my machine.
libtiff and its associated programs also appear to be available through
Fink and DarwinPorts, but installing Fink/DP is a lot of overhead if all
you are looking for is this particular library/program. If you have the
Developer Tools installed, building libtiff should take five minutes.
Everything is installed in /usr/local/, so if you have /usr/local/bin in
your path, you should be ready to go.
Running it from Terminal, you'd do something like this:
tiff2pdf foo.tiff > foo.pdf
(Use the > to specify the output file name, otherwise you will see a
bunch of data being dumped to standard output directly in Terminal.)
Accessing this from AppleScript should be no more difficult than "do
shell script '/usr/local/bin tiff2pdf foo.tiff > foo.pdf '".
libtiff is free under the BSD license and is open-source, as noted. Hope
this helps.
Cheers,
Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
Wayne Melrose wrote:
|
| On Oct 4, 2005, at 3:16 PM, Martin Orpen wrote:
|
|> Forget you read saw that last script. I might give it a gui in Xcode
|> and flog it on versiontracker ;-)
|>
|>
|
|
| hahaha nice..
|
| there have been a couple of suggestions for ImageMagick, which I am
| still yet to install.. but all of these suggestions have been great so
| far..
|
| I guess ImageMagick would be a little quicker?
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDQpjEJmdQs+6YVcoRAnJMAJ40R6FbJ2NbFSRXlNit4hF7v9v8zQCghmyz
WXJw+Xh3nCbvOlsU5RXQv4A=
=PWK9
-----END PGP SIGNATURE-----
_______________________________________________
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