• 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: Getting a resource (PICT preview) from a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a resource (PICT preview) from a file


  • Subject: Re: Getting a resource (PICT preview) from a file
  • From: Ray <email@hidden>
  • Date: Tue, 16 Oct 2001 10:48:35 -0700

The downside being the OSAX has to be present on the users mac, and
you're dependent on the creator to upgrade and maintain the code.

I was faced with a similar situation where a jpeg was needed from a
Quark eps. The problem was solved by using an appleScript to create the
eps from within a RealBasic application. The pict was extracted from the
eps using the RealBasic resourceFork class methods. A jpeg was then
created from the pict using a simple built-in saveAsJPEG method. No
OSAX's needed.

ryn


>>Peter Forsyth wrote:

>>Any recommendations about how to use applescript to extract a
thumbnail
>>preview, which is stored as a resource in the file, for use in a
Filemaker
>>database?

>Use Tanaka's OSAX to get the pict resource from the image file ("MT
Load
>Resource" ).

>has


  • Prev by Date: OS9 "Synchronize Folders" script on OSX
  • Next by Date: Scripting RA in OS 9.2
  • Previous by thread: Re: Getting a resource (PICT preview) from a file
  • Next by thread: Re: Getting a resource (PICT preview) from a file
  • Index(es):
    • Date
    • Thread