Adobe PSB Format

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Adobe PSB Format

Post by jmagyari » 2010-02-27T07:05:12-07:00

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.

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2010-02-27T07:55:59-07:00

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.

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-02-28T12:42:04-07:00

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.
Last edited by jmagyari on 2010-02-28T12:51:30-07:00, edited 1 time in total.

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-02-28T12:50:37-07:00

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

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2010-02-28T13:01:32-07:00

Stand by while we investigate support for the PSB image format.

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-02-28T15:55:13-07:00

Here's older doc that might help Adobe Photoshop 6.0 File Format Specification
http://www.lipowiec.org/im/ps6ffspecsv2.pdf

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2010-02-28T17:44:57-07:00

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.


User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2010-03-01T07:06:06-07:00

Thanks. We'll need a week or so to get the PSB reader working and then perhaps another week for the PSB writer.

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-03-01T22:23:19-07:00

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

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-03-02T11:37:58-07:00

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

jmagyari
Posts: 22
Joined: 2010-01-19T18:09:32-07:00
Authentication code: 8675309

Re: Adobe PSB Format

Post by jmagyari » 2010-03-08T10:10:49-07:00

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.

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2010-03-08T11:10:44-07:00

We have some more patches for the PSB format in ImageMagick 6.6.0-4 available in about an hour.

paulheckbert
Posts: 5
Joined: 2011-01-05T08:58:39-07:00
Authentication code: 8675308

Re: Adobe PSB Format - document it please

Post by paulheckbert » 2011-01-05T09:23:32-07:00

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

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Adobe PSB Format

Post by magick » 2011-01-05T09:28:13-07:00

We added PSB to the list of supported image formats @ http://www.imagemagick.org/script/formats.php. Thanks.

Post Reply