PSD

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Overview)
m (Sample files)
 
(38 intermediate revisions by 8 users not shown)
Line 3: Line 3:
 
|subcat=Graphics
 
|subcat=Graphics
 
|extensions={{ext|psd}}
 
|extensions={{ext|psd}}
 +
|mimetypes={{mimetype|image/vnd.adobe.photoshop}}
 +
|pronom={{PRONOM|x-fmt/92}}
 +
|locfdd={{LoCFDD|fdd000523}}
 +
|wikidata={{wikidata|Q2141903}}
 +
|released=≥1990
 
}}
 
}}
 +
'''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
+
 
 +
== 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 <code>'8' 'B' 'P' 'S' 0x00 0x01</code>.
  
 
== See Also ==
 
== 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]
 +
* [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/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]]
 +
* [[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 ==
 +
* "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]
 +
* {{DexvertSamples|image/psd}}
 +
 +
== 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]
  
* [[Photoshop Image Resources]]
+
=== Commentary ===
 +
* [https://github.com/gco/xee/blob/7aec0d65f776fa59c58eb6cf163b59dd4f1de3bd/XeePhotoshopLoader.m#L108 Rant about PSD format in comments of a program's source code]
 +
* [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
  
==Resources==
+
[[Category:Adobe]]
* Official specification by Adobe[http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/]
+
[[Category:Photoshop]]
* Entry on fileformat.info[http://www.fileformat.info/format/psd/egff.htm]
+
* Open-Source PSD import code from GIMP[http://git.gnome.org/browse/gimp/tree/plug-ins/file-psd]
+

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