PSD

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Commentary)
(Commentary)
(20 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
|mimetypes={{mimetype|image/vnd.adobe.photoshop}}
 
|mimetypes={{mimetype|image/vnd.adobe.photoshop}}
 
|pronom={{PRONOM|x-fmt/92}}
 
|pronom={{PRONOM|x-fmt/92}}
 +
|locfdd={{LoCFDD|fdd000523}}
 +
|wikidata={{wikidata|Q2141903}}
 +
|released=≥1990
 
}}
 
}}
'''PSD''' is the file format used by Adobe in its Photoshop program line. The format has gone through multiple versions, each being downwards (but not always upwards) compatible.
+
'''PSD''' is the native layered raster graphics file format of the [[Photoshop|Adobe Photoshop]] program line. The format has gone through multiple versions, each being downwards (but not always upwards) compatible.
  
== See Also ==
+
PSD is a partially-documented proprietary format. It is very large and complex. Despite this, decoding the primary image of a PSD file is often fairly simple. If an application claims to support PSD, that could mean just about anything.
* [[PSB]]
+
 
* [[Photoshop brush]]
+
== Format details ==
* [[Photoshop Image Resources]]
+
=== Compression ===
 +
Images are usually compressed with [[PackBits]], or uncompressed. "Zip" compression, which apparently means [[zlib]], is also supported.
 +
 
 +
=== Text encoding ===
 +
PSD files often contain both [[Unicode]] and non-Unicode text. It's not clear whether there is a good way to determine the encoding of the non-Unicode text. Some sources claim [[MacRoman]], which is true in many cases, but other encodings have been observed.
  
 
== Identification ==
 
== Identification ==
 
PSD files begin with bytes <code>'8' 'B' 'P' 'S' 0x00 0x01</code>.
 
PSD files begin with bytes <code>'8' 'B' 'P' 'S' 0x00 0x01</code>.
 +
 +
== See Also ==
 +
* [[PSB]]
 +
* [[PhotoDeluxe]] (PDD)
 +
 +
See [[Photoshop]] for other related formats.
  
 
== Specifications ==
 
== Specifications ==
* [http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] (current version)
+
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] (current version)
** Other versions (from archive.org): [http://web.archive.org/web/20110109163057/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2010-07], [http://web.archive.org/web/20120910224552/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2012-06], [http://web.archive.org/web/20121209170357/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2012-12], [http://web.archive.org/web/20130725152233/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2013-06]
+
** Other versions (from archive.org): [https://web.archive.org/web/20110109163057/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2010-07] · [https://web.archive.org/web/20120910224552/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2012-06] · [https://web.archive.org/web/20121209170357/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2012-12] · [https://web.archive.org/web/20130725152233/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2013-06] · [https://web.archive.org/web/20160617040616/https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2013-10] · [https://web.archive.org/web/20160701113240/https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2016-06] · [https://web.archive.org/web/20160917163012/http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ 2016-08]
 
* [ftp://ftp.buerliag.ch/pub/Documentation/Adobe/Photoshop/ps6ffspecsv2.pdf Photoshop File Formats Specification V6.0 Release 2]
 
* [ftp://ftp.buerliag.ch/pub/Documentation/Adobe/Photoshop/ps6ffspecsv2.pdf Photoshop File Formats Specification V6.0 Release 2]
 
* [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/PHOTOSDK.PDF PHOTOSDK.PDF] - Adobe Photoshop 3.0.4 SDK
 
* [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/PHOTOSDK.PDF PHOTOSDK.PDF] - Adobe Photoshop 3.0.4 SDK
 
** [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/ADOBE.TXT ADOBE.TXT] - Photoshop 3.0.4 File Format
 
** [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/ADOBE.TXT ADOBE.TXT] - Photoshop 3.0.4 File Format
 
* [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/PHOTOSHP.TXT PHOTOSHP.TXT] - Adobe Photoshop 2.5 File Format
 
* [ftp://ftp.ora.com/pub/examples/gff/CDROM/GFF/VENDSPEC/ADOBEPHO/PHOTOSHP.TXT PHOTOSHP.TXT] - Adobe Photoshop 2.5 File Format
 +
* [https://github.com/layervault/psd.rb/wiki/Anatomy-of-a-PSD-File PSD.rb: Anatomy of a PSD File]
  
 
== Software ==
 
== Software ==
* [http://www.adobe.com/products/photoshop.html Adobe Photoshop]
+
=== Viewers, editors, and converters ===
 +
* [[Adobe Photoshop]]
 
* [[ImageMagick]]
 
* [[ImageMagick]]
 +
* [[Konvertor]]
 
* [[XnView]]
 
* [[XnView]]
 +
* [[Tom's Viewer]]
 +
 +
=== Libraries and tools ===
 +
* [https://github.com/layervault/psd.rb PSD.rb] (Ruby)
 +
* [https://pypi.python.org/pypi/psd-tools/ psd-tools] (Python)
 +
* [https://sourceforge.net/projects/libpsd/ Libpsd] (C)
 +
* [https://github.com/alco/psdump psdump] (C++; uses Libpsd)
  
 
== Sample files ==
 
== Sample files ==
Line 34: Line 57:
 
** [http://www.psdgraphics.com/ psdGraphics]
 
** [http://www.psdgraphics.com/ psdGraphics]
 
** [http://www.freepik.com/free-psd Freepik → PSD]
 
** [http://www.freepik.com/free-psd Freepik → PSD]
* [http://code.google.com/p/tombexcavator/source/browse/#svn%2Ftrunk%2Fdata%2FPSD tombexcavator samples]
+
* [https://github.com/devbrain/tombexcavator/tree/master/data/PSD tombexcavator samples]
 +
* https://telparia.com/fileFormatSamples/image/psd/ → *.psd
 +
 
 +
== Links ==
 +
See also [[Photoshop#Links]].
  
==Resources==
+
* [[Wikipedia: Adobe Photoshop#File format]]
 +
* [https://www.adobe.com/products/photoshop.html Adobe Photoshop website]
 
* {{EGFF|psd|Adobe Photoshop File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* {{EGFF|psd|Adobe Photoshop File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 
* [http://git.gnome.org/browse/gimp/tree/plug-ins/file-psd Open-Source PSD import code from GIMP]
 
* [http://git.gnome.org/browse/gimp/tree/plug-ins/file-psd Open-Source PSD import code from GIMP]
* [http://www.computerhistory.org/atchm/adobe-photoshop-source-code/ Adobe Photoshop 1.0.1 source code]
 
  
==Commentary==
+
=== Commentary ===
* [http://vimeo.com/67897293 Photoshop you are a liar (video)]
+
* [http://www.nationalreview.com/article/376430/why-stop-banning-photoshopping-james-lileks Why Stop at Banning Photoshopping?]
+
 
* [http://blogs.adobe.com/jnack/2009/05/some_thoughts_about_the_psd_format.html Some thoughts about the PSD format]
 
* [http://blogs.adobe.com/jnack/2009/05/some_thoughts_about_the_psd_format.html Some thoughts about the PSD format]
* [https://code.google.com/p/xee/source/browse/XeePhotoshopLoader.m?r=f16763d221dfca6253983824b470adf553a19e06#108 Rant about PSD format in comments of a program's source code]
+
* [https://bitbucket.org/WAHa_06x36/old-xee/src/fe1cec107972603523e67e7be29a83e493f5cac2/XeePhotoshopLoader.m?fileviewer=file-view-default#XeePhotoshopLoader.m-108 Rant about PSD format in comments of a program's source code]
* [https://www.youtube.com/watch?v=TtA46JT2q_0&feature=youtu.be Your Favorite Photoshop Experts Open Photoshop 1.0]
+
* [https://b3n.org/psd-is-not-my-favourite-file-format/ PSD is not my favourite file format]  
  
 
[[Category:Adobe]]
 
[[Category:Adobe]]
 +
[[Category:Photoshop]]

Revision as of 20:26, 10 April 2021

File Format
Name PSD
Ontology
Extension(s) .psd
MIME Type(s) image/vnd.adobe.photoshop
LoCFDD fdd000523
PRONOM x-fmt/92
Wikidata ID Q2141903
Released ≥1990

PSD is the native layered raster graphics file format of the Adobe Photoshop program line. The format has gone through multiple versions, each being downwards (but not always upwards) compatible.

PSD is a partially-documented proprietary format. It is very large and complex. Despite this, decoding the primary image of a PSD file is often fairly simple. If an application claims to support PSD, that could mean just about anything.

Contents

Format details

Compression

Images are usually compressed with PackBits, or uncompressed. "Zip" compression, which apparently means zlib, is also supported.

Text encoding

PSD files often contain both Unicode and non-Unicode text. It's not clear whether there is a good way to determine the encoding of the non-Unicode text. Some sources claim MacRoman, which is true in many cases, but other encodings have been observed.

Identification

PSD files begin with bytes '8' 'B' 'P' 'S' 0x00 0x01.

See Also

See Photoshop for other related formats.

Specifications

Software

Viewers, editors, and converters

Libraries and tools

Sample files

Links

See also Photoshop#Links.

Commentary

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox