7/21/2023 0 Comments Exiftool command line options![]() Hi Ray, thanks for explaining – that is expected and makes sense. This code is formatted for the Mac OS, MS Windows would use straight double quote marks " and the expected \ file path formatting. ![]() I can explain the CLI code in more detail if required (I have applied faux syntax highlighting to help break up the various components). You would perhaps need to do a find/replace in a spreadsheet program to replace the Color Component column, changing 1 to Grayscale, 3 to RGB and 4 to CMYK. The third file was saved via Save for Web (Legacy) excluding all metadata, so there is less info available. The first two images were saved via File>Save As, so they have more info in them to extract. = /Users/loggedinusername/Desktop/test/ IMG-RGB-SFWL.jpg = /Users/loggedinusername/Desktop/test/ IMG-Gray.jpg = /Users/loggedinusername/Desktop/test/ IMG-CMYK.jpg The output looks like this (reformatted for display from. ![]() Perhaps X can shed some light on that.Įxiftool -r -File:ImageWidth -File:ImageHeight -File:ColorComponents -JFIF:XResolution -JFIF:YResolution -IFD0:XResolution -IFD0:YResolution -IFD0:ResolutionUnit -csv '/Users/loggedinusername/Desktop/test' > '/Users/loggedinusername/Desktop/exiftool-metadata-dump.csv' -ext. However I have no idea of what can be done in a Bridge script. I would think a Bridge script would run quicker than a Photoshop script. You may need to calculate PICAS using the document width and height in pixels. I only bring this up because all basic file information would be available in Bridges databases or image cache so a bridge script would most likely be able to retrieve that data without having to open the file for it has already collected the data you want. However I have never created a Bridge script. However each file would most likely need to opened and closed by Photoshop to retrieve all that data. for a jpeg file that has been created in PS CC 2015.5Īll of what you seem to want can be retrieved with a Photoshop script all items seem to be basic document information the is in Adobe DOM Document Object. Is there a way where we can extract the dimensions ( width x height, in picas), Color information (RGB, CMYK or Grayscale) and Resolution of the image (dpi in pixels per inch).
0 Comments
Leave a Reply. |