selective-php / image-type

Image type (format) detection for PHP
MIT License
7 stars 4 forks source link

PSB (Photoshop Large Document) #49

Closed odan closed 5 years ago

odan commented 5 years ago

PSB (Large Document Format)

PSB is a file extension for an image file used by Adobe Photoshop. PSB files are a large document format similar to a PSD file but for a larger image size.

The Large Document Format (8BPB/PSB) supports documents up to 300,000 pixels in any dimension. All Photoshop features, such as layers, effects, and filters, are supported by the PSB format. The PSB format is identical to the Photoshop native format in many ways.

Identification

The file header contains the basic properties of the image.

Length Description
4 Signature: always equal to '8BPS' . Do not try to read the file if the signature does not match this value.
2 Version: always equal to 1. PSB version is 2.

Source: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_pgfId-1057388