• 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: Extract image preview from Quark
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extract image preview from Quark


  • Subject: Re: Extract image preview from Quark
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 10 Feb 2001 08:17:57 +1100

On 10/2/01 4:54 AM +1000, Steve Delmont, email@hidden,
wrote:

> Is there any way to extract the image preview from a Quark eps file
> and store the extracted data in its own file?

Play with this:

tell application "QuarkXPress 4.11"
tell document 1
set theData to image 1 of picture box 1
end tell
end tell
set fileRef to (open for access file "Macintosh HD:Pic" with write
permission)
-- need 512 bytes of header, content irrelevant
set theHeader to ""
repeat 16 times
set theHeader to theHeader & "12345678901234567890123456789012"
end repeat
write theHeader to fileRef
write theData to fileRef
close access fileRef
tell application "Finder" to set file type of file "Macintosh HD:Pic" to
"PICT"

--
Shane Stanley, email@hidden


References: 
 >Extract image preview from Quark (From: Steve Delmont <email@hidden>)

  • Prev by Date: Re: Changed definition of word? No dashes?
  • Next by Date: Re: Changed definition of word? No dashes?
  • Previous by thread: Extract image preview from Quark
  • Next by thread: Re: Extract image preview from Quark
  • Index(es):
    • Date
    • Thread