How to check image GPS data and get image file from image field

Hello,
I have some trouble and want to fix this problem.
1. I want to validate image file before its attached in image field about the image file have a GPS data or not. Have any way that can be check about image has contained a GPS data?
2. After validate image and PDF form is upload to the server. I want to get image file that embed in image field, because I have to extract image from PDF form and store this image in project image folder. If this topic can be fix by code script please give me some example code.
Thakyou for every comment and suggestion
Best Regards,
Mai

Hi Naill,
First I have to say thankyou for your answer.
About my (1) question, My image fields have set to be a embedded data and I try to test many example script of image fields.I can get image content type, image size. But that not work when I used ImageField1.desc.embeddedHref.value. It's response as "Unknown Embedded URI". Therefore, image field is and embedded data. How can I access filename?
(2) In that forum. As I see, his problem is about how to automate change image field with href image file. But I want to extract an exist embedded image in PDF form to normal image file with original metada (such as extract image filed to .JPEG with GPS data. Same as before attached in PDF form.). There has any concept or solution in this problem?
Best Regards,
Mai

Similar Messages

  • How to edit the existing data in the XML file from java programming.

    Hi all
    i am able to create XML file with the sample data as below from java programming.
    i need sample code on how to edit the existing data in the XML file?
    for example
    <?xml version="1.0"?>
       <mydata>
               <data1>
                         <key1>467</key1>
                        <name1>Paul</name1>
                        <id1>123</id1>
              </data1>
              <data2>
                         <key2>467</key2>
                        <name2>Paul</name2>
                        <id2>123</id2>
              </data2>
        </mydata>
    i am able to insert the data in the XML.
    now i need sample code on how to modify the data in the above XML file from the java programming for only key2,name2,id2 tags only. the remaining tags data in the XML file i want to keep same data except for key2,name2,id2 which are i want to modify from java code
    Regards
    Sunil
    [points will be always rewardable]

    hi
    u need a parser or validate the xml file for to read the xml file from java coding u need for this
    xml4j.jar u can download this file  from here
    http://www.alphaworks.ibm.com/tech/xml4j
    or we can use the SAX(simple API for XML)
    some sample applications for this
    http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
    http://www.developertutorials.com/tutorials/java/read-xml-file-in-java-050611/page1.html
    http://www.xml-training-guide.com/e-xml44.html
    let me know u need any other info
    bvr

  • How do I remove "printinvoicesRedirect.jsp and the https file from printed invoices

    I am printing invoices and a line of test appears on top and bottom of sheet. Top left reads "printinvoicesRedirect.jsp" - Top right reads "https:// (then adds the website I'm printing from.
    The bottom of the sheet prints "1 of xx" and date and time. How do I remove these from my customers invoices?

    I'm guessing the page is a PDF, and it is being displayed in the new Firefox 19 PDF Viewer? Unfortunately, there is currently no way to suppress headers and footers in the PDF Viewer without changing Page Setup globally. More information in this thread: [https://support.mozilla.org/en-US/questions/951147 Print from the PDF viewer without page information].
    To switch to the Acrobat plugin, or an external application, see this article: [[How to disable the built-in PDF viewer and use another viewer]].

  • Using unix to try and get url file from c++

    Hi,
    Can I use unix to try and get a url file and read it from c++??
    eg given a url and filename , can I read it, from c++???

    The various unix standards do not, as far as I know, provide any URL resolution APIs. You can of course build your own, using sockets and file io, but you would have to build your own protocol stacks for http, https, ftp, etc. This is a pretty big challenge.
    A better approach is to use an existing third party library that has already implemented these bindings. cURL is one such library, and has API definitions for many languages, including C++:
    http://curl.haxx.se/libcurl
    It is released under a very generous license, so you should be able to use it in almost any context. You will need to either download and compile the sources, or get prebuilt binaries somewhere.

  • How to read internal table data and use to retrive from other table.

    Hi all,
        I am trying to generate a report using ooabap.
    In this scenario, I retrieved data from one standard table (zcust) and successfully displayed using structure 'i_zcust_final' ( i_zcust_final is similar structure of zcust).  
        Now I want to get some other data from other standard table  (zpurch) using the data in i_zcust_final. How....???? I am unable to read data from i_zcust_final even i kept in loop.
        I am attaching the code here.. even it too long, please look at the code and suggest me what to do.
    code  **************************
    REPORT  ZBAT_OOPS_REPORT1.
    TABLES: ZCUST.
        D E F I N I T I O N     *****
    CLASS BATLANKI_CLS DEFINITION.
      PUBLIC SECTION.
      DATA : ITAB_ZCUST TYPE STANDARD TABLE OF ZCUST,
             I_ZCUST_FINAL LIKE LINE OF ITAB_ZCUST,
             ITAB_ZCUST1 TYPE STANDARD TABLE OF ZCUST.
      TYPES: BEGIN OF IT_ZPURCH,
              CUSTNUM   TYPE ZPURCH-CUSTNUM,
              PURC_DOC  TYPE ZPURCH-PURC_DOC,
              VENDOR    TYPE ZPURCH-VENDOR,
              STATUS    TYPE ZPURCH-STATUS,
              PURC_ORG  TYPE ZPURCH-PURC_ORG,
            END OF IT_ZPURCH.
      DATA : ITAB_ZPURCH TYPE TABLE OF IT_ZPURCH,
             I_ZPURCH_FINAL LIKE LINE OF ITAB_ZPURCH.
      METHODS: GET_ZCUST,
               PRINT_ZCUST,
               GET_ZPURCH.
    ENDCLASS.
    I N I T I A L I Z T I O N   *****
        SELECT-OPTIONS:S_CUSNUM FOR ZCUST-CUSTNUM.
    INITIALIZATION.
    S_CUSNUM-LOW = '0100'.
    S_CUSNUM-HIGH = '9999'.
    S_CUSNUM-OPTION = 'BT'.
    S_CUSNUM-SIGN   = 'I'.
    APPEND S_CUSNUM.
    CLEAR S_CUSNUM.
    I M P L E M E N T A T I O N *****
    CLASS BATLANKI_CLS IMPLEMENTATION.
      METHOD GET_ZCUST.
      SELECT * FROM ZCUST
        INTO TABLE ITAB_ZCUST
       WHERE CUSTNUM IN S_CUSNUM.
    ENDMETHOD.
      METHOD PRINT_ZCUST.
       LOOP AT ITAB_ZCUST INTO I_ZCUST_FINAL.
       WRITE:/ I_ZCUST_FINAL-CUSTNUM,
               I_ZCUST_FINAL-CUSTNAME,
               I_ZCUST_FINAL-CITY,
               I_ZCUST_FINAL-EMAIL.
       ENDLOOP.
      ENDMETHOD.
       METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
      SELECT CUSTNUM
             PURC_DOC
             VENDOR
             STATUS
             PURC_ORG
        FROM ZPURCH
        INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
        WHERE CUSTNUM EQ I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
         LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
         WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
                 I_ZPURCH_FINAL-PURC_DOC,
                 I_ZPURCH_FINAL-VENDOR,
                 I_ZPURCH_FINAL-STATUS,
                 I_ZPURCH_FINAL-PURC_ORG.
         ENDLOOP.
    ENDMETHOD.
    ENDCLASS.
      O B J E C T   *****
    DATA: BATLANKI_OBJ TYPE REF TO BATLANKI_CLS.
    START-OF-SELECTION.
    CREATE OBJECT BATLANKI_OBJ.
    CALL METHOD:
                 BATLANKI_OBJ->GET_ZCUST,
                 BATLANKI_OBJ->PRINT_ZCUST,
                 BATLANKI_OBJ->GET_ZPURCH.
    Can anyone suggest me..
      Thanks in advance,
      Surender.

    Hi Surendar..
    There is mistake in the Work area specification in this method.
    METHOD GET_ZPURCH.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO CORRESPONDING FIELDS OF TABLE ITAB_ZPURCH
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDLOOP.
    LOOP AT ITAB_ZPURCH INTO I_ZPURCH_FINAL.
    WRITE:/ I_ZPURCH_FINAL-CUSTNUM,
    I_ZPURCH_FINAL-PURC_DOC,
    I_ZPURCH_FINAL-VENDOR,
    I_ZPURCH_FINAL-STATUS,
    I_ZPURCH_FINAL-PURC_ORG.
    ENDLOOP.
    ENDMETHOD.
    Now it should work..
    One more thing : From performance point of view you have to Replace that loop using FOR ALL ENTRIES . And avoid CORRESPONDING FIELDS. it will be slow.
    This is the code.
    LOOP AT ITAB_ZCUST INTO ITAB_ZCUST1.
    if ITAB_ZCUST[] IS NOT INITIAL.
    SELECT CUSTNUM
    PURC_DOC
    VENDOR
    STATUS
    PURC_ORG
    FROM ZPURCH
    INTO TABLE ITAB_ZPURCH
    <b>for all entries in ITAB_ZCUST1</b>
    <b>WHERE CUSTNUM EQ      ITAB_ZCUST1-CUSTNUM.</b>           
                                   "Instead of  I_ZCUST_FINAL-CUSTNUM.
    ENDIF.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • Help!  : How do I ask for help and get a reply from Adobe?

    Hello:
    I asked a question a week ago on here (Merge to HDR pro is producing very "bleached" and overexposed images.) and there have been zero replies.
    What does it take to get a reply? Am I asking in the wrong area? Is there a support forum somewhere where I should ask questions instead of here?
    Any assistance greatly appreciated.
    Rob, the noob.

    First this site for Adobe Product user there are forum and sub topic forum for Adobe suite of applications. Members here are not Adobe employees though some help Adobe employee do drop by.  If you think you have a bug  you can follow the an other Links in Photoshop menu Help>Photoshop Support Center... web page. It will take you to the right place Photoshop Family Customer Community

  • How to start a new thread and getting mail alerts from the OTN ?

    Hi ,
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.
    Can you help !!!!!!!!
    Thanks

    IndianDBA wrote:
    I would like to post some question in OTN and at the same time , i am intrest to get the forums mails into my mail box.You could probably help yourself as well.
    There is a FAQ link at the upper-right of the page - FAQ stands for 'Frequently Asked Questions' and usually provides answers to those questions. ANd your questions just may be answered there if you care to look.
    I note that not only 'would you like to post some questions', but you actually 'have posted the first question'. So you seem to be on your way. Just note that there are many forums, and you are encouraged to ask in the correct forum - find them by going to the 'Forum Home' link (top left) and scrolling down (and don't forget to peek in the 'More...' areas if you can not find the ones you want.)
    AND - if you ask technical questions, remember to include operating system (including edition or distribution and version as appropriate for the OS), product version (even if you do not think it's important) and any error messages (copied, not re-typed, if possible)

  • How describe model data and  get select in DB throw topLink.

    Hello,
    I have table from code
    create table t_tree
    id int primary key,
    parent_id int,
    value varchar2(255)
    Alter table t_tree
    add constraint constr_id_parent foreign key (parent_id) references t_tree (id)
    I must get query
    select level as lv,lpad('-@-', (level-1)*2)||value as MMM, t.* from t_tree t
    connect by prior id=parent_id
    start with T.PARENT_ID is null
    How describe model data and get select in DB throw topLink.
    Dema.

    So you'll probably have to write a function which uses dynamic SQL to retrieve the desired message text, like this untested one:
    CREATE OR REPLACE FUNCTION get_msg(p_db IN VARCHAR2,
                                       p_id IN NUMBER)
       RETURN VARCHAR2
    IS
       msg_txt  VARCHAR2(4000);
    BEGIN
       -- make sure p_db is a valid database link ...
       EXECUTE IMMEDIATE 'SELECT d_msg FROM msg@' || p_db || ' WHERE t_id = :id' INTO msg_txt USING p_id;
       RETURN msg_txt;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
          RETURN NULL;
    END get_msg;
    /The you can update likeUPDATE mex
       SET t_msg = get_msg(db_id, t_id);Hth, Urs

  • How do I store 4 hours of data and get it out of the "while loop" into a spreadshee​t file for documentin​g purposes? "See additional Text for additonal info"

    What a have is a VI that uses the following SUbvi's, starts with FP OpenVI, then FP Create TagVI, into a "While Loop" which contains a FP ReadVI outputting data into a Index ArrayVI outputting to a Display (DBL). This shows the output of a FP-AI-100 monitoring a 9v battery. I have to monitor this battery for a 4 hour period my problem is storing the 4 hours of data and getting it out of the "while loop" into a "Write to Spreadsheet File VI" all I seem to accomplish is just one data sample which I get into a spreed ship file with no problem. I just can't get 4 hours worth. By the way this is my first VI and I'm self
    trained so have mercy.

    I figured it out thanks.
    John Morris
    Glendinning Marine

  • How do I store 4 hours of data and get them out of the "while loop" into a spreadsheet file for documenting purposes? "See additional Text for additonal info"

    What a have is a VI that uses the following SUbvi's, starts with FP OPENvi, then FP Create Tagvi, into a "While Loop" which contains a FP READvi outputting data into a INDEX ARRAYvi outputting to a Display (DBL). This shows the output of a FP-AI-100 monitoring a 9v battery. I have to monitor this battery for a 4 hour period my problem is storing the 4 hours of data and getting it out of the "while loop" into a "Write to Spreadsheet File vi" all I seem to accomplish is just one data sample which I get into a spreed ship file with no problem. I just can't get 4 hours worth. By the way this is my first VI and I'm sel
    f trained so have mercy.

    I figured it out Thanks.
    John Morris
    Glendinning Marine

  • How to monitor OSD TS failure and get alert or report?

    How to monitor OSD TS failure and get some alert or generate an report?
    We have SCCM 2012 R2 CU1 with MDT 2013.
    I have checked the OSD reports in SCCM and everyone is emty, where do SCCM get data to the what to activate?
    (I thinking of "Task Sequence - Deployment Status" reports)
    I am not sure people read report manually or lock at the MDT monitor view. So best I think that generate an email or incident in Service Manager when an TS fails.
    We do have SCOM, SCSM, SCO.
    Is there anyone that can point what way or what option I have?
    /SaiTech

    Specifically you could use this Status Message Query syntax to monitor your Task Sequences for errors:
    select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes
    as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and att2.AttributeValue = "DOJ200A1" and stat.SiteCode = "DOJ" and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc
    Just replace DOJ200A1 with the Deployment ID of your Task Sequence and DOJ with your SiteCode.
    If you want to generate an alert if the TS fails then you could run a script that calls a utility (or similar) which sends a pre-configured email to a specified address (as an alternative to Torten's response). This could be placed in the built in error
    logging section of the SCCM integrated MDT Task Sequence when it fails which I assume you are using (right at the bottom, called Gather Logs and StateStore on failure).
    There are heaps of ways of generating an email from a TS and controlling error logging just do a search - as you have Service Manager you could even use your instance of Orchestrator and call a run book in your TS which does the email?
    Cheers
    Damon

  • How to transfert all my data and config from 4 to 4s

    Hello,
    Is there a "step by step" doc. On how to transfert all my data and config
    From one iphone 4 to a 4s without using outlook ( ex:for contacts ) etc...
    I don't get the ITunes method, sync direction etc...
    All my Iphone 4 Put into my knew Iphone 4 S within a click !
    Maybe there's an app for that :-).
    Thanks for the Help.

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I bought a book on itunes on my pc. I want the book on my ipad.  When I plugged in my ipad to sync it moved all my apps to my pc - useless. how do i get my apps back on my ipad and get the book from my computer to my ipad?

    I bought a book on itunes on my pc. I want the book on my ipad.  When I plugged in my ipad to sync it moved all my apps to my pc - useless. how do i get my apps back on my ipad and get the book from my computer to my ipad?

    Instructions on syncing your iPad can be found here:
    http://support.apple.com/kb/PH12311
    and in the accompanying documents linked from that page. Syncing your iPad with iTunes copies items, it doesn't move them. The only way apps would be actually removed from your iPad during syncing is if you had iTunes set to remove them on syncing, so check the appropriate settings in iTunes, set the book to sync as well, and then sync the iPad again.
    Regards.

  • How to check if Oracle Data Access Components  is installed?

    How to check if  Oracle Data Access Components is installed and version on my computer?
    Also How to check if Oracle Data Provider is installed and version?
    TIA
    Steve42

    Regedit HKLM->Software->Oracle.  See what's there...
    At the very least, that can give you paths and can check file versions from there.

  • What is the best way to enlarge a part of a photo in lightroom?  How much cn you enlarge it and get

    what is the best way to enlarge a part of a photo in lightroom?  How much cn you enlarge it and get an acceptable result?

    The way I would do it would be to crop the image so that it only displays what you want, then export that image and specify the dimensions. You will have to experiment with different export sizes to determine what would be acceptable for your situation. You might be more forgiving or more demanding than anyone who would venture to answer that question. That's the nice part about digital photography; you can experiment to your heart's content until you get the result you are looking for.

Maybe you are looking for

  • Safari 7.1  When I click a hyperlink (to another site) I am taken to Safari's Top Sites page instead

    I am using OSX 10.9.5 with Safari 7.1. I have tried resetting Safari, restarting. It happens repeatedly. Does anyone have this issue and found a solution?

  • Strange iPhone and HDTV Issue

    This is probably the strangest iPhone issue I've encountered to date (even more weird than the "stop the image rotation half way" bug). For those who either don't know or don't care, the Major League Baseball playoffs are going on right now. For the

  • Time Consumption more in T5220 Hardware than N440 Hardware.Why?

    Hi, I have an issue related to T5220 Hardware machine. Same solaris is installed in T5220 and N440 machine. Same application is running in T5220 and N440 machine. Same operation is performed in T5220 and N440 machine. The operation is getting the con

  • Cant get more than 400 songs

    Hi, I've been having a problem with my iPod where it crashed iTunes if I tried putting anything on it. Sometimes it would also crash iTunes just by connecting. And in rare occasions it could cause a blue screen of death. I recently got it restored an

  • Problem installing iTunes 7.6

    Today, I tried to upgrade iTunes 7.5 to 7.6. I clicked the download button but the only thing I got was a "Thank you" page,thats it. A window did not pop up saying "run,save etc" as it normally does. Anyone know the problem and how I can rectify it?