Creating file from PICT Resource
Creating file from PICT Resource
- Subject: Creating file from PICT Resource
- From: Pier Kuipers <email@hidden>
- Date: Fri, 8 Jun 2001 00:40:59 +0100
Hi All,
I am trying to write a script that will generate a thumbnail image
from any given image file without actually opening the original file.
This is important, since the script will run as a CGI on a web
server, where it may need to create a preview for a 50MB image.
So far I have managed to script GraphicConverter to create a PICT
preview for a file if a preview doesn't exist. I've also managed to
create a new file with that PICT resource in it. However, that
doesn't make it a new image...
How can I write a script that uses the data from the PICT resource to
create a brand new JPEG image, all in Applescript?
BTW, I intend to use a thing called ImageMagick, a UNIX-type command
line image manipulation package, very scriptable.
http://www.imagemagick.org
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com