Photoshop limitations

From PanoTools.org Wiki
Revision as of 10:13, 28 October 2005 by Erik Krause (Talk)

Jump to: navigation, search

Page description

This article covers bugs and limitations of the widely used application Photoshop and hopefully their workarounds. Some problems are system specific (different flavours of Mac OS and Windows), some are found in a certain program version (like Photoshop Elements, 7.x, 8.x aka CS or 9.x aka CS2) or file type specific (e.g. 16 bit TIFF files with alpha masks). Some of the workarounds might advise to use a different application for a certain task.

Carl von Einem Zarl 04:17, 28 Oct 2005 (EDT)

Opening large TIFFs with Photoshop

Photoshop CS for Windows has a bug when opening TIFF files that exceed a certain size and are compressed using the packbit format. If you try you get the error message "Could not open ... because of a program error". When this error occurs, it is possible to open the images if they are compressed using a different algorithm. Adobe developer Chris Cox is said to have claimed that a Microsoft compiler bug in the CS version is the reason for this error. It should be partly solved in CS2.

Defining the exact size of a file that produces this kind of error is difficult. According to Erik Krause the bug has something to do with a wrong type cast from 16 to 32 bit integer, watch out for layer size, channel size, pixel size...

Changing the compression can be done with any program that can open the file and save it back (caution! some image viewers - IrfanView f.e. - silently degrade 16 bit TIFFs to 8 bit). A more convenient choice is to use ImageMagick together with Erik Krauses batch file [1] for TIFF conversion.

There might be problems using LZW compression due to patent issues - although the patent should have exired in all countries by now (see [2] for details). If this is the case, try no compression or ZIP compression. Newer versions of ImageMagick are not limited anymore.