• 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
Creating file from PICT Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Dropping text on to Droplets
  • Next by Date: Re: Applescript brings finder to front each time
  • Previous by thread: Re: Adding Icons to Scripts
  • Next by thread: Re: Creating file from PICT Resource
  • Index(es):
    • Date
    • Thread