PSD
(→See Also) |
Dexvertbot (Talk | contribs) 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 | + | '''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. |
− | == | + | 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. |
− | + | ||
− | + | == 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 == | == 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 == | ||
− | * [ | + | * [https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ Adobe Photoshop File Formats Specification] (current version) |
− | ** Other versions (from archive.org): [ | + | ** 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/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 == | ||
− | * [ | + | === 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]]. | ||
− | + | * [[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] | ||
− | |||
− | ==Commentary== | + | === 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 | |
− | + | ||
− | + | ||
− | * [https:// | + | |
[[Category:Adobe]] | [[Category:Adobe]] | ||
+ | [[Category:Photoshop]] |
Latest revision as of 04:22, 28 December 2023
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
- PSB
- PhotoDeluxe (PDD)
See Photoshop for other related formats.
[edit] Specifications
- Adobe Photoshop File Formats Specification (current version)
- Photoshop File Formats Specification V6.0 Release 2
- PHOTOSDK.PDF - Adobe Photoshop 3.0.4 SDK
- ADOBE.TXT - Photoshop 3.0.4 File Format
- PHOTOSHP.TXT - Adobe Photoshop 2.5 File Format
- PSD.rb: Anatomy of a PSD File
[edit] Software
[edit] Viewers, editors, and converters
[edit] Libraries and tools
[edit] Sample files
- "Free PSD" websites are abundant. Some examples:
- tombexcavator samples
- dexvert samples — image/psd
[edit] Links
See also Photoshop#Links.
- Wikipedia: Adobe Photoshop#File format
- Adobe Photoshop website
- Adobe Photoshop File Format Summary, from the Encyclopedia of Graphics File Formats
- Open-Source PSD import code from GIMP
[edit] Commentary
- Rant about PSD format in comments of a program's source code
- Some thoughts about the PSD format, in response to above's comments