Page 1 of 1

Converting VERY large PSB files to tiles

Posted: 2011-01-21T08:45:55-07:00
by halvor
Hi

I work with Gigapixel-photgraphy, which means that I work with VERY large files. I have tried to split up my PSB files, with original sizes between 2 and 30 gb, to smaller tiles. So that I easier can open them in Photoshop. But I run in to different problems each time.

I have used the following command: convert -limit memory 5000mb -limit map 7000mb -crop 10%x100% +repage tiles%.psb
(I have 12 GB of memory)

This is what happens: 1: The .psb output files are corrupt, or at least photoshop doesn't want read them.
2: I end up getting files that varies between five times and 1/10th of the size of the orginal image.

I've also tried to convert the .psb-files into tif, but no program I've tried will read the output tif-files. This could be a size problem (I believe Photoshop has a limit of 4 GB for tif-files).

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-21T10:03:49-07:00
by magick
Post a URL to a couple of your PSB image files. We need to download them and reproduce the problem before we can help further.

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-25T02:19:27-07:00
by halvor
Hi

Here is the url:

http://ekeberg.wwp.no/IMtest1.psb

It is only one of the files, since it takes forever to upload files this big. I hope it will help you to get some answers for me.
Thanks for taking the time to help me out.

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-25T06:52:48-07:00
by magick
We get 'ERROR 404: Not Found.' when trying to download http://ekeberg.wwp.no/IMtest1.psb.

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-25T07:28:20-07:00
by halvor
Sorry we had an apache redirect that handled the "_" differently than supposed to. I changed the filename, so now it should work:
http://ekeberg.wwp.no/imtest.psb

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-29T18:34:55-07:00
by magick
We can reproduce the problem you reported. We will look toward a patch to support the conversion. PSD / PSB is a difficult format to support so we anticipate it will take weeks and / or months before we come up with a proper patch.

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-30T14:20:03-07:00
by mwillig
Hi,
as you can see in viewtopic.php?f=3&t=15733 I have a similar problem as you with large psb files. Do you have the same error message in Adobe Photshop: Adobe Photoshop CS 5 says "Could not complete yor request because the file is not compatable with this version of Photoshop."(respectively in German as I have a german version "Der Vorgang konnt nicht ausgeführt werden, weil diese Datei nicht mit dieser Version von Photoshop kompatibel ist.")?
Can you check your psb file with psdparse --> How many pixel rows/columns are there? 345600 rows x 1737 cols (600 millions pixel) are not working for me but 250560 rows x 7342(1800 millions pixel) (both files have more than 4 GB file size) is openable without a problem? --> it seems like a problem in maximum row number?

Have you tried to create smaller tiles (less than 300.000 pixel rows ? )

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-30T14:38:29-07:00
by mwillig
I found http://help.adobe.com/en_US/photoshop/c ... 777ca.html The Large Document Format (PSB) supports documents up to 300,000 pixels in any dimension. --> its not a bug from imagemagick its a sensless feature from Adobe

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-31T02:27:02-07:00
by halvor
mwillig wrote:Hi,
as you can see in viewtopic.php?f=3&t=15733 I have a similar problem as you with large psb files. Do you have the same error message in Adobe Photshop: Adobe Photoshop CS 5 says "Could not complete yor request because the file is not compatable with this version of Photoshop."(respectively in German as I have a german version "Der Vorgang konnt nicht ausgeführt werden, weil diese Datei nicht mit dieser Version von Photoshop kompatibel ist.")?
Can you check your psb file with psdparse --> How many pixel rows/columns are there? 345600 rows x 1737 cols (600 millions pixel) are not working for me but 250560 rows x 7342(1800 millions pixel) (both files have more than 4 GB file size) is openable without a problem? --> it seems like a problem in maximum row number?

Have you tried to create smaller tiles (less than 300.000 pixel rows ? )
I have no problem opening the file in Photoshop. The reason I want to tile the image first, is to increase load speed and make it a bit more managable to work with. So, the original file works in Photoshop, but the tiles that ImageMagick outputs doesn't work.

Re: Converting VERY large PSB files to tiles

Posted: 2011-01-31T02:48:53-07:00
by mwillig
You have written: "The .psb output files are corrupt, or at least photoshop doesn't want read them." which error message do you get?

Re: Converting VERY large PSB files to tiles

Posted: 2012-11-02T22:25:11-07:00
by deweydb
Hello, i am having a similar problem did this bug ever get resolved?