Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

PICT (.pict, .pct, .pic)

  • PICT Export is available in the Wolfram System versions for Mac OS X.
  • Export fully supports the PICT format for raster images.


    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.

Import and ExportImport and Export

  • 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 .
  • 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 as specifying the corresponding .
  • 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.
  • ExportString supports the PICT format.


  • Data representation elements:
  • "Data"array of color values
    "Graphics"Graphics object representing an image
    "Image"raster image, given as an Image object
    "GrayLevels"array of normalized gray-level values
    "RGBColorArray"array of RGBColor objects
  • Export by default uses the element for PICT files.


ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

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

The Wolfram Language can export arbitrary expressions to PICT:

Click for copyable input
Introduced in 2007
| Updated in 2008