PSD

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(See Also)
m (Sample files)
 
(19 intermediate revisions by 7 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 ===
* [[Photoshop Text Engine Data]]
+
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], [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]
+
** 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]
+
* [https://oldschoolprg.x10.mx/downloads/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]]
 
* [[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 37: Line 58:
 
** [http://www.freepik.com/free-psd Freepik → PSD]
 
** [http://www.freepik.com/free-psd Freepik → PSD]
 
* [https://github.com/devbrain/tombexcavator/tree/master/data/PSD tombexcavator samples]
 
* [https://github.com/devbrain/tombexcavator/tree/master/data/PSD tombexcavator samples]
 +
* {{DexvertSamples|image/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)]
+
* [https://github.com/gco/xee/blob/7aec0d65f776fa59c58eb6cf163b59dd4f1de3bd/XeePhotoshopLoader.m#L108 Rant about PSD format in comments of a program's source code]
* [http://www.nationalreview.com/article/376430/why-stop-banning-photoshopping-james-lileks Why Stop at Banning Photoshopping?]
+
* [https://jnack.com/blog/2009/05/04/some_thoughts_about_the_psd_format/ Some thoughts about the PSD format], in response to above's comments
* [http://blogs.adobe.com/jnack/2009/05/some_thoughts_about_the_psd_format.html Some thoughts about the PSD format]
+
* [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]
+
  
 
[[Category:Adobe]]
 
[[Category:Adobe]]
 +
[[Category:Photoshop]]

Latest revision as of 04:22, 28 December 2023

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

[edit] Format details

[edit] Compression

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

[edit] 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.

[edit] Identification

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

[edit] See Also

See Photoshop for other related formats.

[edit] Specifications

[edit] Software

[edit] Viewers, editors, and converters

[edit] Libraries and tools

[edit] Sample files

[edit] Links

See also Photoshop#Links.

[edit] Commentary

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox