How can I know the length of the image data section of a PSD file

I'm a C++ programmer developing a project to parse PSD files, and it's necessary to know whether there is a length field indicating the length of the image data in image data section of a PSD file, if not, how can I know the length?
Thank you.

Sorry I can't help, maybe there is some information in the SDK?
http://www.adobe.com/devnet/photoshop/sdk.html
Or someone might be able to help in this forum?
http://forums.adobe.com/community/photoshop/photoshop_sdk

Similar Messages

  • I have monthly subscription app how can i know about who cancel the supscription ?

    i have monthly subscription app how can i know about who cancel subscription ? and how i can calculed the monthly revenue ?

    Apple20141 wrote:
    Or open sim tray and find out the carrier ring the carrier and give them numbers on sim
    The carrier will not give out information about the owner of the phone.

  • How can I know WHICH cookie in the list is the one I want to delete?

    OK, an unwanted, annoying cookie pops up.
    I go to the list of cookies in the Privacy section but I can't IDENTIFY the NAME of the cookie I want to delete.
    How can I tell its name?

    See also:
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies
    You can check to cookies for the domain in the currently selected tab:
    *Click the "Site Identity Button" (globe/padlock) on the location bar
    *Click "More Information" to open "Page Info > Security"
    *Click "View Cookies" to view the cookies for the domain in the currently selected tab
    Also make sure that you do not get confused by messages from BetterPrivacy.
    *https://addons.mozilla.org/firefox/addon/betterprivacy/

  • How can I know which line contains the error in JSP

    Hello, I got following compiling error:
    ava.lang.NullPointerException
         at org.apache.jsp.temp1Public_jsp._jspService(temp1Public_jsp.java:252)"
    Is there a way I can know in which line of the jsp page the null pointer exception occurs.
    "line 252 " doesn't seem to help a lot, since it refers to the rendered java file.
    Thanks so much.
    Oriental Spirit.

    Hello, I got following compiling error:
    ava.lang.NullPointerException
    at
    org.apache.jsp.temp1Public_jsp._jspService(temp1Public
    jsp.java:252)"
    Is there a way I can know in which line of the jsp
    page the null pointer exception occurs.
    "line 252 " doesn't seem to help a lot, since it
    refers to the rendered java file.As far as I know, no. If you are using an IDE that supports JSP compilation, then it may let you click on the error and take you directly to the JSP (e.g. Forte/Netbeans or Jbuilder will do this).

  • How can I know if I have the Latest Version of LiveType?

    Warning, this falls into the "I'm stupid so this is a stupid question" category.
    How can I check to see if I have the latest version of LiveType?
    Currently I have version 2.1
    It came with my Final Cut Express -- my FCE version reads 3.5.1
    I tried software update, I tried the LT and FCE menus. Any ideas?
    Thanks.

    You have the latest version of LiveType; the information here will be updated shortly after any future updates.
    (23832)

  • How can I know if I am the first user of a supposed to be a new iPhone 5s?

    I have bought a new iPhone 5s 64GB from a shop that import iPhones independently from Europe.
    The box was open by the custom, as the shop owner told me.
    I had found so far that the iPhone production date was July 2014.
    Is there any option to find if I am the first person that activate the iPhone?
    Thanks,
    Amnon

    I have put the serial number and that what i have get;
    No remarks when taping on the Case activity and Repair Activity.
    Now what is the meaning of the information above?

  • How can I know which link was clicked in the link list

    Hi everyone
    I'm using list of links in my page to display list of the files in some directory.
    How can I know which link user was clicked. There are some code:
    <%
    String dir = "..//files//";
    File fin = new File(dir);
    File files[]=fin.listFiles();
    for(int i=0;i<files.length;i++)
    File x = files;
    %>
    <%=x.getName()%><br>
    <%
    %>
    Please help

    You need to pass some data on the querystring to the page you are linking to.
    <a href="Main_Work.jsp?file=<%=x.getName()%>"><%=x.getName()%></a><br>
    This will send a parameter called "file" with the value of the file name that the user clicked.
    Now in Main_Work.jsp you can access this data as follows:
    <%
    String s = request.getParameter("file");
    File f = new File("..//files//"+s);
    %>

  • How can i know the RPM of my HD?

    I guys...
    Simple question...
    How can i know the RPM of my HD?
    I have a Mac mini and i would like to know that.
    Any ideas?.
    Thanks so much!!!

    Hi!!
    It doesn't show...
    Vendor:          NVidia
      Product:          MCP79 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          1.5 Gigabit
      Description:          AHCI Version 1.20 Supported
    FUJITSU MHZ2120BH G1:
      Capacity:          120.03 GB (120,034,123,776 bytes)
      Model:          FUJITSU MHZ2120BH G1                   
      Revision:          00810009
      Serial Number:                  K64PT9427599
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Lower
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
      Capacity:          209.7 MB (209,715,200 bytes)
      Writable:          Yes
      BSD Name:          disk0s1
    Macintosh HD:
      Capacity:          119.69 GB (119,690,149,888 bytes)
      Available:          21.38 GB (21,376,569,344 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    FUJITSU MHZ2120BH G1:
      Capacity:          120.03 GB (120,034,123,776 bytes)
      Model:          FUJITSU MHZ2120BH G1                   
      Revision:          00810009
      Serial Number:                  K64PT9427599
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Bay Name:          Lower
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
      Capacity:          209.7 MB (209,715,200 bytes)
      Writable:          Yes
      BSD Name:          disk0s1
    Macintosh HD:
      Capacity:          119.69 GB (119,690,149,888 bytes)
      Available:          21.38 GB (21,376,569,344 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    Those are the 2 texts...
    Any idea?
    Thanks!!

  • How can i Know the email linked to icloud

    Please can anyone help me how to know teh email linked to my phone ??
    it shows me h********@hotmail.com i tried to logged in with my account that belong to h********@hotmail.com and it says inocrrect password or email i tried to reset my id but no reset mail was sent to my email ..
    so i tried to creat a new with the existing email addreess and it works and verified and finally i tried to activate it with h********@hotmail.com with the new passs and it says account cannot be activate with h********@hotmail.com it is linked to another account ..
    so please how can i know the linked email to my phone
    Thank you

    Welcome to the Apple community jorjh.
    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple ID.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • How can I know that the listener is starting up?

    Hi,
    I follow the instruction in ACS Oracle Installation guide. I believe that many of you use the document to install oracle. I have a question when I try to start the listener. when I execute ./listener8i stop or ./listener8i start I got the same message, which is different from the message in the ACS document.
    Here is the message:
    Oracle 8i listener start/stop
    Startting the Listener for 8i:
    LSNRCTL for Linux: Version 8.1.6.0.0 - Production on 31-AUG-2000 14:00:00
    (c) Copyright 1998, 1999, Oracle Corporation. All rights reserved.
    TNS-01106: Listener using listener name LISTNENER has already been startd.
    Is the message above correct? How can I know the listener is started up?
    TIA,
    Tony

    try "lsnrctl status" on the linux command line.
    for further info use "lsnrctl help"

  • How can we know the affected reports when i remove object from universe

    Hi All,
    If i remove any objects from the universe.
    How can i know the list of affected reports.

    Thanks for your update.
    It shows what are all the reports has been created  by using that particular universe.
    But my question was, if i remove any object from the universe, Then what are all the reports affected(We may not use that deleted object in all the reports)

  • How can we know the return code of BDC Program ?

    Hi All,
    Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
    In my program, we are uploading data from Excel sheet to SAP via BDC
    The records that are not updated we want to create a log file.
    Now to know whether a record is updated ot not, wat syst field shloud be used?
    Its urgent....
    <b>Reward Point will be there ....</b>
    Thanks,
    Harish

    Hi harish,
    try the logic in this code ...
    i had attached input file in the end.
    TYPES: begin of errmess,
            msgnr type t100-msgnr,
            text type t100-text,
           end of errmess.
    TABLES : t100.
    DATA: BEGIN OF DD_VA01,
           AUART TYPE VBAK-AUART,
           KUNNR TYPE RV45A-KUNNR,
           BSTKD TYPE VBKD-BSTKD,
           MABNR TYPE RV45A-MABNR,
           KWMENG(2) type C,
           KBETR(2) type C,
          END OF DD_VA01.
    DATA:IT_VA01     Like TABLE OF DD_VA01,
         WA_VA01     Like LINE  OF IT_VA01,
         WA_VA01_F   Like LINE  OF IT_VA01,
         IT_BDCDATA  TYPE TABLE OF BDCDATA,
         WA_BDCDATA  Like Line  OF IT_BDCDATA,
         W_FNAME     TYPE STRING,
         messtab like bdcmsgcoll occurs 0 with header line,
         it_errmess type table of errmess,
         wa_errmess like line of it_errmess,
         err_message type string.
    data: zf1 type i,
          zc1 type c value '2',
          fn(20) type c.
    Main Code ************************************************************
    PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
    SORT IT_VA01 BY AUART KUNNR BSTKD.
    LOOP AT IT_VA01 INTO WA_VA01.
      if WA_VA01_F-AUART <> WA_VA01-AUART OR
         WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
         WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
           PERFORM set_header_flag.
           PERFORM create_bdc_header_data.
      endif.
      PERFORM create_bdc_item_data.
    ENDLOOP.
    PERFORM call_transaction.
    PERFORM errorlog.
    Procedures ***********************************************************
    form get_input using w_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = W_FNAME
          HAS_FIELD_SEPARATOR = '#'
        TABLES
          DATA_TAB            = IT_VA01.
    endform.
    form call_transaction.
        PERFORM bdc_field       using 'BDC_OKCODE' '/11'.
        CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
        refresh it_bdcdata.
    endform.
    FORM set_header_flag.
           WA_VA01_F-AUART = WA_VA01-AUART.
           WA_VA01_F-KUNNR = WA_VA01-KUNNR.
           WA_VA01_F-BSTKD = WA_VA01-BSTKD.
           if zf1 = 1.
               PERFORM call_transaction.
           endif.
           zf1 = 1.
    endform.   "set_header_flag.
    form create_bdc_header_data.
         perform bdc_dynpro      using 'SAPMV45A' '0101'.
         perform bdc_field       using 'VBAK-AUART' WA_VA01-AUART.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         perform bdc_field       using 'KUAGV-KUNNR' WA_VA01-KUNNR.
         perform bdc_field       using 'VBKD-BSTKD' WA_VA01-BSTKD.
         perform bdc_field       using 'BDC_OKCODE' '/00'.
         perform bdc_dynpro      using 'SAPMSSY0' '0120'.
         perform bdc_field       using 'BDC_CURSOR' '04/06'.
         perform bdc_field       using 'BDC_OKCODE' '=CHOO'.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    endform. "create_bdcdata
    FORM create_bdc_item_data.
         CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
         perform bdc_field       using 'BDC_CURSOR' FN.
         perform bdc_field       using FN WA_VA01-KWMENG.
         CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-KBETR.
         CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
         perform bdc_field       using FN WA_VA01-MABNR.
         perform bdc_dynpro      using 'SAPMV45A' '4001'.
         PERFORM bdc_field       USING 'BDC_OKCODE' '=POAN'.
    ENDFORM.
    form errorlog.
      LOOP AT MESSTAB .
        if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
            SELECT SINGLE msgnr text FROM T100
                            into wa_errmess
                            WHERE SPRSL = MESSTAB-MSGSPRA
                              AND ARBGB = MESSTAB-MSGID
                              AND MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              err_message = wa_errmess-TEXT.
              IF err_message CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
              ENDIF.
              CONDENSE err_message.
              WRITE: / MESSTAB-MSGTYP, err_message .
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
        endif.
      ENDLOOP.
    endform. "errorlog
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      WA_BDCDATA-PROGRAM  = PROGRAM.
      WA_BDCDATA-DYNPRO   = DYNPRO.
      WA_BDCDATA-DYNBEGIN = 'X'.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      WA_BDCDATA-FNAM = FNAM.
      WA_BDCDATA-FVAL = FVAL.
      APPEND WA_BDCDATA TO IT_BDCDATA.
      CLEAR  WA_BDCDATA.
    ENDFORM.
    input file :
    OR     2148     0001235     R-1162     8     17
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     6     25
    OR     2148     0001235     R-1162     4     12
    OR     2148     0001236     R-1162     3     12
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     1     25
    OR     2148     0001236     R-1162     7     12
    OR     2148     0001236     R-1161     8     30
    OR     2148     0001236     100-400     10     25
    OR     2148     0001235     R-1161     5     30
    OR     2148     0001235     100-400     2     25
    OR     2148     0001235     R-11621     3     12
    OR     2148     0001235     R-1161     2     30
    OR     2148     0001235     100-400     1     25
    OR     2148     0001235     R-1162     7     12
    OR     2148     0001235     R-1161     8     30
    OR     2148     0001235     100-400     10     25
    OR     2148     0001236     R-1162     8     17
    OR     2148     0001236     R-1161     2     30
    OR     2148     0001236     100-400     6     25
    OR     2148     0001236     R-1162     4     12
    OR     2148     0001236     R-1161     5     30
    OR     2148     0001236     100-400     2     25

  • How can I know the last day of the subscription of...

    How do I know when will be the last day of my subscription of the month?
    I just purchased a subscription, it starts immediately. When will be the last day? 3/25?
    Since the setting page shows me that my next payment will due on 3/23, so I got confused.
    Thanks! 

    Hi,
    Please specify what you mean by last manager?
    If you mean, previous manager:
    You can try something like this...
    --Test Data
    CREATE TABLE emp_manager
    empid NUMBER,
    manager NUMBER,
    start_date DATE,
    end_date DATE
    INSERT INTO emp_manager values (100,200,'1-JAN-00','31-DEC-05');
    INSERT INTO emp_manager values (100,202,'1-JAN-06','31-DEC-10');
    INSERT INTO emp_manager values (100,204,'1-JAN-11',null);
    COMMIT;
    --Generalized SQL for getting the previous managers
    SELECT manager FROM
    SELECT manager, ((COUNT(*) OVER (PARTITION BY empid))-ROWNUM) morder
    FROM emp_manager
    WHERE empid = 100 --Pass EMP ID here
    ORDER BY start_date DESC)
    WHERE morder = 1; --Pass 0 for current manager and 1 for previous manager and 2 for manager before previous manager and so on..Results:
       MANAGER
           202Hope it helps..
    Regards,
    Rakesh
    Edited by: Rakesh Desai on Mar 28, 2011 3:12 PM

  • How can I know the delta field for CO-PA datasource?

    Hi,folks:
        How can I know which is the field assigned as the delta field for CO-PA datasource,as is noticed in the note that after PI2004 the logic has been turned to general datasource,but I can't find the datasource through RSO2.
        Full points will be given to u.
    Martin Xie

    Dear Martin,
    The CO-PA DataSources generated use a separate time stamp method for the delta procedure. This procedure means that client-independent DataSources in CO-PA are normally restricted to the clients in which they were generated.
    See this link...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/97/6f4d40cef71059e10000000a155106/frameset.htm
    Also check ROOSOURCE in R3, asmentioned by Dinesh.
    Hope it helps.

  • How can we know the format of report

    Developed a web application using java SDK.
    How can we know the format of report that is is it a crystal report , PDF or excel or hyperling.
    If it is crystal report then i use openDoc and the report is opened but if its a hyperlink or PDf i am not able to open the report .
    Please help.
    Thanks

    Check the si_kind or so_progid property of object. You can use oInfoObject.getKind() to retrieve that.
    a crystal report would return crystalreport a pdf would return pdf etc.

Maybe you are looking for

  • PC crashes as soon as I connect my iPhone 4.

    I've recently updated all my Apple applications, and iPhone 4 to iOS 7.  Ever since then, my computer has been acting really strange.  I thought my computer was infected, so I did a few virus scans.  Fortunately, nothing came up in the virus scan res

  • I just bought the converter deal to make pdf a word file...how do i use it?

    I was trying to covert a PDF file to a Word document and ended up going through the purchase deal and buying the cheapest monthly converter deal offered. I don't know how to use it...please help!!!

  • Classic 'Flatten PDF' question

    So I have created a fairly complex fillable form in Acrobat Pro (10.1.8)... I have saved it for use by other users in Adobe Reader. (File>Save As>Reader Extended PDF>Enable Additional Features...) The users can open file in Adobe Reader just fine, al

  • Multiple repositories or multiple workareas?

    Hi, We have only one global shared workarea for our current database environments. We will hold database objects of a different environment (another oracle database) in designer. But we couldn't decide to use a second repository or a second shared wo

  • Sun WebServer(a.k.a iPlanet) 6 SP 5 Passthrough.dll

    Hi, We are running Sun WebServer(a.k.a iPlanet) 6 sp5 that proxies all the requests to weblogic servers. We tried using proxy36.dll but the response time was slow(Have opened a ticket with BEA weblogic). We then configured passthrough.dll to proxy al