PICT
From Just Solve the File Format Problem
(Difference between revisions)
Line 10: | Line 10: | ||
Though it is a vector format, it is often used as if it were a raster format. Many files contain just a single bitmap image. | Though it is a vector format, it is often used as if it were a raster format. Many files contain just a single bitmap image. | ||
− | |||
− | |||
== Identification == | == Identification == | ||
Line 17: | Line 15: | ||
Version 2 PICT files have bytes {{magic|00 11 02 ff 0c 00}} at file offset 522. | Version 2 PICT files have bytes {{magic|00 11 02 ff 0c 00}} at file offset 522. | ||
+ | |||
+ | == Custom data == | ||
+ | Custom application data is sometimes stored in PICT files by using (abusing?) the "LongComment" opcode. Comment "kind" 224 is used for [[ICC profile]]s, and kind 498 appears to be related to [[PSD|Photoshop]]. | ||
+ | |||
+ | == Related formats == | ||
+ | * PICT is used for graphics stored within [[Keynote]] documents. | ||
== Specifications == | == Specifications == | ||
* [https://developer.apple.com/legacy/library/documentation/mac/pdf/ImagingWithQuickDraw.pdf Inside Macintosh: Imaging With QuickDraw] | * [https://developer.apple.com/legacy/library/documentation/mac/pdf/ImagingWithQuickDraw.pdf Inside Macintosh: Imaging With QuickDraw] | ||
* [http://show.docjava.com/posterous/file/2012/07/9614410-DOC01.PDF PICT File Format Notes] | * [http://show.docjava.com/posterous/file/2012/07/9614410-DOC01.PDF PICT File Format Notes] | ||
+ | * [http://research.stowers-institute.org/efg/ScientificSoftware/Utility/TiffTags/ICC-tag.pdf HELIOS ICC profile tagging specifications] - Tells how to embed an ICC profile in a PICT file | ||
== Software == | == Software == |
Revision as of 19:21, 23 October 2015
PICT, or QuickDraw/PICT, is a complex graphics file format used on Macintosh computers. It is associated with the QuickDraw API.
Though it is a vector format, it is often used as if it were a raster format. Many files contain just a single bitmap image.
Contents |
Identification
Version 1 PICT files have (hex) bytes 11 01
at offset 522.
Version 2 PICT files have bytes 00 11 02 ff 0c 00
at file offset 522.
Custom data
Custom application data is sometimes stored in PICT files by using (abusing?) the "LongComment" opcode. Comment "kind" 224 is used for ICC profiles, and kind 498 appears to be related to Photoshop.
Related formats
- PICT is used for graphics stored within Keynote documents.
Specifications
- Inside Macintosh: Imaging With QuickDraw
- PICT File Format Notes
- HELIOS ICC profile tagging specifications - Tells how to embed an ICC profile in a PICT file
Software
Sample files
- http://www.fileformat.info/format/macpict/sample/index.htm
- http://cd.textfiles.com/cdreview/cdreview66/PCT01_01/PC0101P/
- http://cd.textfiles.com/fantaziasampler/CLIPART/PCT/