• 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: Writing clipboard PICT to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing clipboard PICT to file


  • Subject: Re: Writing clipboard PICT to file
  • From: Motoyuki Tanaka <email@hidden>
  • Date: Sat, 13 Oct 2001 16:15:08 +0900

At 10:27 -0600 10/11/2001, Ehsan Saffari wrote:
>Is it necessary to append
>a PICT header to construct a proper PICT?

Yes. You have to add 512 byte header before PICT body to save as PICT file.

>Can this be done without
>involving an image app?

If you don't mind using third-party osax, you can with Tanaka's osax 2:

set myPic to the clipboard as "PICT"
set myFile to choose file name -- or set myFile to new file
MT Write Pict File myPic to myFile

Hope this helps.

==============================================================
Motoyuki Tanaka Fukui Prefectural University
email@hidden Faculty of Economics
http://mtlab.ecn.fpu.ac.jp/


  • Prev by Date: Re: Printing page numbers with Tex-Edit
  • Next by Date: Invisible scripts in Script menu
  • Previous by thread: Re: Writing clipboard PICT to file
  • Next by thread: Simple question
  • Index(es):
    • Date
    • Thread