Page 1 of 2

Adobe PSB Format

Posted: 2010-02-27T07:05:12-07:00
by jmagyari
Has there been any attempts to support Adobe's PSB format?

I am stitching maps which exceed Adobes PSD Format limitations, so I would like to use PSB format.
I am then using Photosjop CS4's ability to create Zoomify Maps.

From
http://livedocs.adobe.com/en_US/Photosh ... -7748.html

Large Document Format
The Large Document Format (PSB) supports documents up to 300,000 pixels in any dimension. All Photoshop features, such as layers, effects, and filters, are supported. You can save high dynamic range, 32‑bits-per-channel images as PSB files. Currently, if you save a document in PSB format, it can be opened only in Photoshop CS or later. Other applications and earlier versions of Photoshop cannot open documents saved in PSB format.

Note: Most other applications and older versions of Photoshop cannot support documents with file sizes larger than 2 GB.

Re: Adobe PSB Format

Posted: 2010-02-27T07:55:59-07:00
by magick
Post a URL to the PSB format specification and a pointer to 3-4 different PSB images and we will look into supporting the format.

Re: Adobe PSB Format

Posted: 2010-02-28T12:42:04-07:00
by jmagyari
Spec
http://www.lipowiec.org/im/PhotoshopFileFormats.pdf

Spec
http://www.lipowiec.org/im/01logo.tif <- convert logo: logo.tif
http://www.lipowiec.org/im/01logo.psd <- convert logo: logo.psd

From logo.tif via cs4
http://www.lipowiec.org/im/01logotif.psd
http://www.lipowiec.org/im/01logotif.psb

I can generate psbs via CS4 are there any images that you would prefer?

I will remove above pdf once you have it, let me know.

Re: Adobe PSB Format

Posted: 2010-02-28T12:50:37-07:00
by jmagyari
Links with psb and psd file generate via cs4 from logo.tif
http://www.lipowiec.org/im/01logotif.psd
http://www.lipowiec.org/im/01logotif.psb

Re: Adobe PSB Format

Posted: 2010-02-28T13:01:32-07:00
by magick
Stand by while we investigate support for the PSB image format.

Re: Adobe PSB Format

Posted: 2010-02-28T15:55:13-07:00
by jmagyari
Here's older doc that might help Adobe Photoshop 6.0 File Format Specification
http://www.lipowiec.org/im/ps6ffspecsv2.pdf

Re: Adobe PSB Format

Posted: 2010-02-28T17:44:57-07:00
by magick
ImageMagick can now read the image you posted. Can you post a couple of PSB images that contain layers so we can verify our patches work. Thanks.

Re: Adobe PSB Format

Posted: 2010-03-01T05:22:38-07:00
by jmagyari

Re: Adobe PSB Format

Posted: 2010-03-01T07:06:06-07:00
by magick
Thanks. We'll need a week or so to get the PSB reader working and then perhaps another week for the PSB writer.

Re: Adobe PSB Format

Posted: 2010-03-01T22:23:19-07:00
by jmagyari
CS File Format does good job in difference between PSD and PSB.

I noticed difference between 2000-11 PS 6 and 2003-10 CS docs. PG 19 PS6 and Pg10 CS
In code psd.c MAXPSDChannels = 24 like PS 6.0 doc.

for both psd and psb in CS doc looks like MAXPSDChannels should be set to 56.
This might be update for psd.c.

I'm on XP machine, when closer to fixes I can do testing and give feedback if you need beta info.

thanks,
john

Re: Adobe PSB Format

Posted: 2010-03-02T11:37:58-07:00
by jmagyari
Found nice tool to parse some info from PSD and PSB
MacOSx and WIn versions

psdparse
Command-line (Terminal) tool to parse Photoshop PSD format files, describe salient structure as text, and dump layers to PNG files

http://www.telegraphics.com.au/sw/

diffing
psdparse --verbose [PSD or PSB]
shows how channel info will be different for 2 formats

Re: Adobe PSB Format

Posted: 2010-03-08T10:10:49-07:00
by jmagyari
Latest Spec FileFormat CS4 in HTML format
www.lipowiec.org\im\photoshopfileformatCS4.rar <- Only File Format Stuff ~54KB
www.lipowiec.org\im\cs4sdkdochtml.rar <- SDK Doc Complete ~3.5MB
www.lipowiec.org\im\photoshopfileformat.html <- What's in above and start point for spec.

Above is 98% same as in previous docs with some minor additions.

Will assume if you reply, you have down loaded anything you want and I will remove links. This should be most current spec.

Re: Adobe PSB Format

Posted: 2010-03-08T11:10:44-07:00
by magick
We have some more patches for the PSB format in ImageMagick 6.6.0-4 available in about an hour.

Re: Adobe PSB Format - document it please

Posted: 2011-01-05T09:23:32-07:00
by paulheckbert
I've got ImageMagick 6.6.6 and it seems to work with PSB files, but your supported formats list at http://www.imagemagick.org/script/formats.php still doesn't list PSB. Could you update the documentation, please? thanks

Re: Adobe PSB Format

Posted: 2011-01-05T09:28:13-07:00
by magick
We added PSB to the list of supported image formats @ http://www.imagemagick.org/script/formats.php. Thanks.