PSD

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(initial version)
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|
+
{{FormatInfo
|[[File Formats]]
+
|formattype=electronic
| >
+
|subcat=Graphics
|[[Electronic File Formats]]
+
|extensions={{ext|psd}}
| >
+
|mimetypes={{mimetype|image/vnd.adobe.photoshop}}
|[[Graphics]]
+
|pronom={{PRONOM|x-fmt/92}}
| >
+
|released=≥1990
|[[PSD]]
+
}}
|}
+
'''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.
  
==Overview==
+
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.
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
+
  
==Resources==
+
== Format details ==
* Official specification by Adobe[http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/]
+
=== Compression ===
* Entry on fileformat.info[http://www.fileformat.info/format/psd/egff.htm]
+
Images are usually compressed with [[PackBits]], or uncompressed. "Zip" compression, which apparently means [[zlib]], is also supported.
* Open-Source PSD import code from GIMP[http://git.gnome.org/browse/gimp/tree/plug-ins/file-psd]
+
 
 +
=== 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 <code>'8' 'B' 'P' 'S' 0x00 0x01</code>.
 +
 
 +
== See Also ==
 +
* [[PSB]]
 +
* [[PhotoDeluxe]] (PDD)
 +
 
 +
See [[Photoshop]] for other related formats.
 +
 
 +
== Specifications ==
 +
* [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] (current version)
 +
** 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.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/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 ==
 +
=== Viewers, editors, and converters ===
 +
* [[Adobe Photoshop]]
 +
* [[ImageMagick]]
 +
* [[Konvertor]]
 +
* [[XnView]]
 +
 
 +
=== 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 ==
 +
* "Free PSD" websites are abundant. Some examples:
 +
** [http://www.psdking.eu/ PsdKing]
 +
** [http://www.psdgraphics.com/ psdGraphics]
 +
** [http://www.freepik.com/free-psd Freepik → PSD]
 +
* [https://github.com/devbrain/tombexcavator/tree/master/data/PSD tombexcavator samples]
 +
 
 +
== Links ==
 +
See also [[Photoshop#Links]].
 +
 
 +
* [[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]]
 +
* [http://git.gnome.org/browse/gimp/tree/plug-ins/file-psd Open-Source PSD import code from GIMP]
 +
 
 +
=== Commentary ===
 +
* [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]
 +
 
 +
[[Category:Adobe]]
 +
[[Category:Photoshop]]

Revision as of 18:13, 30 June 2017

File Format
Name PSD
Ontology
Extension(s) .psd
MIME Type(s) image/vnd.adobe.photoshop
PRONOM x-fmt/92
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