Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Nov 07, 2010 Nov 07, 2010

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.

pixel order.jpg

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

TOPICS
Actions and scripting
3.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Nov 07, 2010 Nov 07, 2010

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.

Translate
Adobe
Advisor ,
Nov 07, 2010 Nov 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Nov 07, 2010 Nov 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2010 Nov 07, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Nov 07, 2010 Nov 07, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2010 Nov 07, 2010
LATEST

Thanx all I got it now!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines