Skip to main content
brifilone
Participating Frequently
November 7, 2010
Beantwortet

How can I tell if a tiff was saved with "interleaved" or "per channel" for pixel order?

  • November 7, 2010
  • 2 Antworten
  • 3485 Ansichten

My PLATFORM:Macintosh

SCRIPTING LANGUAGE:I only know Applescript

Photoshop version: CS5

I need to look at a large amount of tiffs and determine if any of them were saved with the option in the second dialog box that comes up where it asks if you want to save the pixel order as interleaved or by channel.

I need all of them to be interleaved and some are not.

I would rather not open every image and resave. If I could run a script that would identify the culprits by changing their label to red for instance then I could deal with just those files.

If there was a way I could look at them without opening in photoshop that would be better but even opening in photoshop I get  I don't seem to see the pixel order info anywhere.

My PLATFORM is

Macintosh

SCRIPTING LANGUAGE

I only know Applescript

Photoshop version CS5

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von Michael_L_Hale

Thanks yes I did narrow it down to Planar or Chunky! I will try this


You can also use Exiftool to sort the files for you by tag

exiftool "-directory<%d/tif/${planarconfiguration}" c:\temp -ext tif

That command line will sort all the tif files in c:\temp into a subfolder named tif with each tag type sorted into folders by tag. You could then run a batch action of the chunky folder to resave as interleaved.

2 Antworten

brifilone
Participating Frequently
November 8, 2010

Thanx all I got it now!

Inspiring
November 8, 2010

Download exiftool.

Save a tiff file twice: one interlaced, one per channel.

Run exiftool on each file and run diff on the output. This will tell you what to look for in the exif data if it's there.

From here, you can either use XMPScript in PSJS to find the files you want or you can use exiftool itself.

Inspiring
November 8, 2010

This exiftool command line

exiftool -p '$filename $planarconfiguration' -f -q *.tif

will print out the name of the file plus 'Planar' for per channel and 'Chunky' for interleaved.

brifilone
Participating Frequently
November 8, 2010

Thanks yes I did narrow it down to Planar or Chunky! I will try this