How can I lookup the Tiff Image Compression being used on my file?

I'm trying to figure out where this is stored in the file structure, I've tried a few different options, but I'm stuck. I dumped all the attributes of the file to console, but it's not there.
Latest I tried this:
app.activeDocument.TiffSaveOptions)
I could simply open up each file and do a Save As Which would show me all the settings, but it's more time consuming than writing this to text.
Also, does anyone have a recommendation for an Object Model Viewer? Is there one? I'd like to learn more about the files and structures themselves, without having to do hours of experimentation, since it can be difficult to figure out where things are nested.

var compression = -1; // unknown
var rex = /\<tiff:Compression\>(.+)\<\/tiff:Compression\>/;
if (app.documents.length > 0) {
  var xmp = String(app.activeDocument.xmpMetadata.rawData);
  var m = xmp.match(rex);
  if (m) {
    compression = Number(m[1]);
alert(compression);
Also, does anyone have a recommendation for an Object Model Viewer?
There is an OMV for JavaScript that comes built in to ESTK.
There is one PDF for the PS DOM and another for called the JavaScript Tools Guide.
I'd like to learn more about the files and structures themselves, without having to do hours of experimentation, since it can be difficult to figure out where things are nested.
There is a Photoshop Files Format PDF, also available on Adobe.com. I've used variants of it since the version that came out for PS6 many years ago.
But that stuff is not for the faint of heart.

Similar Messages

  • I have an iPad 2 and a Nikon DSLR. How can I transfer RAW/Tiff images using a compact flash card

    I have an iPad 2 and a Nikon DSLR. How can I transfer RAW/Tiff images using a compact flash card? Plugging in the camera at the ipad connector doesn't seem to work, possibly due to lack of power.

    This may apply.
    Fix (for Nikon D800)
    http://www.georgewheelhouse.com/blog/2012/10/ipad-ios-6-update---camera-connecti on-kit-fix
    Are you using an SD, SDHC, or SDXC card? And what capacity?
     Vheers, Tom

  • How can I set the desktop image for client computers?

    How can I set the desktop image for client computers using ARD or terminal?

    How can I set the desktop image for client computers using ARD or terminal?

  • I have an old Kodak Photo CD and Photoshop Elements 11 on Windows 7. How can I open the .pcd images?

    I have an old Kodak Photo CD (1999) and Photoshop Elements 11 on Windows 7. How can I open the .pcd images?
    Please help me open these photos. They are very important to me and I need to access them.
    If I can't do it with any of the software installed on my computer, would someone be willing to open them, save them as jpgs and send them to me?
    Thank you so much, Nancy

    You can get the plugin here by downloading the Extra Content for Photoshop CS3  File 2
    Just be sure to follow Note:Very Important Instructions or the link won't work.
    http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    After downloading the PHSPCS3_Cont_WWE.exe, double click on it to extract the contents, probably to your desktop.
    Then in the Goodies folder, Optional Plugins folder, you'll see the Kodak PhotoCD folder
    Open that and copy the Photo CD.8BI to C:\Program Files (x86)\Adobe\Photoshop Elements 11\Plug-Ins
    Copy the profiles to C:\Program Files (x86)\Common Files\Adobe\Color\Profiles

  • How can I modify the cover image of an album in my Ipad ?

    I have bought an Ipad Mini 3 and when I synchronize the Ipad with ITunes,
    the first image in the album in Iphoto is not the cover image on the Ipad.
    so how can I choose the cover image of an album in my Ipad ?

    I haven't expressed my problem clearly enough.
    I have 3 Ipads and Iphones which I synchronize via the Itunes app of my MacBookPro.
    The Iphoto albums are well organized and the synchronization of the first two Ipad (Ipad mini 3 and Ipad 2, bought in France) is perfect,
    but with the same adjustment when I synchronize the new Ipad (Ipad mini 3, bought in the USA) the images are all disorganized in the albums
    and the cover image in Iphoto is not the cover image in the Ipad.
    thanx for your help.

  • How can we delete the request after compression? is it possible ?if so how?

    how can we delete the request after compression? is it possible ?if so how?

    Hi,
    You basically have 3 options:
    1. Use selective deletion and delete the error records.
    2. Do reverse posting and negate the error records.
    3. This is my preference. Delete all the data from the cube. RSA1 -> cube -> right click -> delete data -> choose "fact and dim" from pop-up. Now reconstruct all the requests that you need i.e ignore the error request. But before all this make sure you have the PSAs for all the request.
    Bye
    Dinesh

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • How can I log the data transmission of my switch in a file to analyze the quality of my communication channel?

    How can I log the data transmission of my switch in a file to analyze the quality of my communication channels?

    A lot depends on what type of switch you have and what kind of communication channels you're asking about.
    There are several Cisco tools (e.g., "ip sla", SNMP-queried values, show commands etc.) that can give useful information.
    If you give us some more information we can help more specifically.

  • How can i get the list of all tcode used by user of particular module

    Hi,
    How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
    Regards
    Vikram

    Login to your SAP System
    Run TCode SE16
    Type Table Name : TSTCT
    Press F7 Key (Table Contents )
    Go to Settings in menu bar
    Select User Parameters
    Under Keyword select Field Label and press green check mark
    Select your criteria in Data Browser and execute
    You will see all t codes in there
    Regards,
    Yogesh

  • How Can i Block the Work Center Once is used in Maintainence Order

    Dear Experts,
    How Can i Block the Work Center Once is used in Maintainence Order in PM module.
    In standard its not blocking the Work Center automatically. How this can be achieved.
    Regards
    Raghu
    Edited by: raghu m on Apr 21, 2009 10:36 AM

    Hi Muthukumar,
    1. You can using the user exit or BADI to control this.
    CONFPP01            PP order conf.: Determine customer specific default values           
    CONFPP02            PP order conf.: Customer specific input checks 1                     
    CONFPP03            PP order conf.: Cust. specific check after op. selection             
    CONFPP04            PP order conf.: Customer specific input checks 2                     
    CONFPP05            PP order conf.: Customer specific enhancements when saving           
    CONFPP06            PP Order Confirmations: Actual Data Transfer                         
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens            
    BADI
    WORKORDER_CONFIRM
    the above are the user exits that are available fro the CO11N tcode.
    2. we have to take a help of the abaper to write coding fort his.
    3. The user exit should be called for the
    Work Center : YYYYY
    then check the relevant Work Center Once is used in open Maintainence Order and if it has a entry if then give a error message else allow the CO11N to perform.
    Regards,
    Sankaran

  • How can I set the maximum number of restarts for my PDF files?

    I want sent my PDF to a friend,but I just allow him see it only twice.
    How can I set the maximum number of restarts for my PDF files?
    My software edition is Acrobat X

    In the old days when PDFs were only opened on desktops and only in Acrobat or Reader, scripting could fake security features and people were generally convinced. As there are so many ways to open a PDF without scripts ever being run (from mobile devices to in-browser display, or simply opening the file in Illustrator), none of that works anymore.

  • How can I change the phone number that's used for my iMessages

    How can I change the phone number that's used for my iMessages

    I Know but i did a number port and the iMessages is showing up using the original number that I had when I first purchased this phone from tmobile

  • How can i change the default application that Lion uses to open a document?

    how can i change the default application that Lion uses to open a document?

    Right-click on the document, select Get Info... In the lower half of the tall window that opens is a section labeled Open With (you may need to click on the disclosure triangle to see detail). Select from the pop-up list which app should open this document. If you want that to become the default condition, click on the Change All... button.

  • HT4211 how can you find out what kb are being used by what apps

    how can you find out what kb are being used by what apps there is always alot of kb being used even when I don't use my phone

    Go into settings , general, usage and it tells you what the apps use. If your refering to the memory storage of the apps.

Maybe you are looking for

  • Some Voice Memos do not sync from iPhone to Mac?

    I recorded a number of meetings to my iPhone using the Voice Memo app. When I sync with my Mac, most of these transfer to iTunes, but a handful don't, for no reason I can see. I did not record them any differently from the ones that made it across. I

  • Interactive PDF on IPad app created with Digital Publishing Suite

    Can someone tell me why I can create an Interactive PDF in InDesign, send it to Adobe Forms but not be able to have an Interactive PDF form on an IPad App built with InDesign? Is having an Interactive (by that I mean, adding a name and address and an

  • Printing Problems with Lightroom 5

    I cannot get Lightroom 5 to print to my Epson 3880 in Mac OS X 10.8.4.  Lightroom 4 works just fine.  However, from Lightroom 5, it starts spooling and then nothing happens. I've tried reinstalling drivers, restarting CUPS, rebooting, restarting Ligh

  • Dynamic fields creation on selection screen

    Good evening everybody! I've got the following problem for solving: Imagine the following situation: on the selection-screen there are some input fields in one line and a button after them. By pressing that button (e.g. it's name is "Add line") the s

  • Windows Explorer crawls with DW 8 running

    If I leave DW running for any period of time, it eventually affects my ability to move/manage files in Windows Explorer. For instance, to simply move or copy a small text file from one network drive to another could take 20 to 30 seconds. If DW is no