This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
Mathematica Import/Export Format

PICT (.pict, .pct, .pic)

MIME type: image/pict
Macintosh graphics format.
Was the original metafile format of the Apple Macintosh.
PICT is an acronym derived from Picture.
Can store raster images and vector graphics.
Binary format.
Developed in 1984 by Apple.
  • PICT Export is available in Mathematica versions for Mac OS X.
  • Export fully supports the PICT format for raster images.
  • Export["file.pct", expr] exports graphics or any other expression as an image to a PICT file.
  • Export["file.pct", expr] creates a PICT image with the same image size as the displayed form of expr.
  • Because PICT is a raster image format, all fonts are rasterized on export.
  • Export["file.pct", expr, elem] creates a PICT file by treating expr as specifying element elem.
  • Export["file.pct", {expr1, expr2, ...}, {{elem1, elem2, ...}}] treats each expri as specifying the corresponding elemi.
  • Export["file.pct", expr, opt1->val1, ...] exports expr with the specified option elements taken to have the specified values.
  • Export["file.pct", {elem1->expr1, elem2->expr2, ...}, "Rules"] uses rules to specify the elements to be exported.
  • See the reference pages for full general information on Export.
  • Data representation elements:
"Data"array of color values
"Graphics"Graphics object representing an image
"GrayLevels"array of normalized gray-level values
"RGBColorArray"array of RGBColor objects
  • Export by default uses the "Graphics" element for PICT files.
  • General option:
ImageSizeAutomaticoverall image size
Create a raster image and export it to PICT:
Click for copyable input
Click for copyable input
Export an arbitrary expression to the PICT format, giving the result as a string:
Click for copyable input
Mathematica can export arbitrary expressions to PICT:
Click for copyable input