To get Image File.

Hi,
I am using Adobe Designer 7.0 to design the form and save it as XDP. I am adding static images in the form and embed the images in XDP. Now,at a later point in time, I would like to create the image file based on the image data I have.
Can you please tell me what is the format of the stream that gets embedded in XDP when I click "Embed Image Data"
regards,
Deiv

David,<br /><br />I have been searching all over for this, so thank you, but when I save my XML file the appropriate <image> tag everything is fine. when I refresh my data connection within LiveCycle, I get a choice of "@contentType" and "#data".<br /><br />So therefore, I cannot bind it to an image field. Any suggestions?<br /><br />Glenn

Similar Messages

  • Get image file name

    Hi ALL,
    I want all image file naming like a caption in my source document. Source document contains more than 100 images.
    But i got a script through the forum and tuned for my script. Still, the file naming comes for the Ist page image only.
    From second page onwards the file naming not comes like a caption.
    Trying script:
    //To Get image file name
    var tgt = app.activeDocument.rectangles;
    for (i=0;i<tgt.length;i++){
        myCaption = app.activeDocument.textFrames.add();
        myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN
        myCaption.contents = tgt[i].graphics[0].itemLink.name
        myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
        bnds = tgt[i].visibleBounds;
        myCaption.visibleBounds =
            [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            //[bnds[0]-6, bnds[1], bnds[0]-1,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    Thanks in advance
    BEGINNER

    If you use the add() method in conjunction with the document without specifying the page or better the spread, all objects added will end up on the first spread of your document.
    But your testing scenario is also too narrow. You are expecting:
    1. All your graphics are sitting in Rectangle objects (what about Ovals or Polygons?)
    Therefore: All graphics placed in ovals or polygons are left out.
    2. That really ALL rectangles in your document contain graphics
    You are in trouble, if there happen to be empty rectangles on a page. I would suggest to test that with your script. It will give you an error, because there is no graphics[0] for this specific rectangle, where you can draw the "name" for the "itemLink".
    3. That there are no graphics in anchored objects or pasted inside other objects; left alone graphics inside table cells.
    And who can say that thiese three restrictions exist in all documents you want to run this script against?
    So, if you want to get to all image files in the document, why don't you start with the images in the first place?
    Let's see:
    the Document object has an "allGraphics" property.
    Use that as a starting point and you will not missing a single graphic.*
    Iterate through "allGraphics" will get you:
    the "name" of the placed image through its itemLink.name property;
    the container of the graphic, that's the "parent" of the graphic.
    Now you need one other thing:
    the page, or even better(!) the spread where the graphic is located. Imagine a graphic sitting outside of a page.
    If you want to handle thiese, you must know the spread.
    If  writing this script for InDesign CS5 or above, you are in luck. There is a "parentPage" property of the "Graphic" object, you could use for your add() method. For graphics outside of pages this property will be "null".
    And another important thing:
    if a graphic is copy/pasted from e.g. PhotoShop to InDesign, the "itemLink"  property of that graphic is also "null".
    We can handle that in a try/catch scenario…
    //Scope: all graphics on all pages
    //(that includes graphics of anchored objects, active states of MSOs, graphics in table cells as well)
    var tgt = app.activeDocument.allGraphics;
    for(var i=0;i<tgt.length;i++){
        //Narrow the scope to all graphics on pages only:
        if(tgt[i].parentPage != null){
            //What to do with graphics, that are pasted directly from none-InDesign files:
            //the caption will read "Undefined"
            try{
            var myName = tgt[i].itemLink.name;
            }catch(e){var myName = "Undefined"};
            //targets the page of the graphic:
            var myPage = tgt[i].parentPage;
            //adds a text frame to the page of the graphic:
            var myCaption = myPage.textFrames.add();
            myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN;
            myCaption.contents = myName;
            myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
            //Why visible bounds and not geometric bounds?
            var bnds = tgt[i].parent.visibleBounds;
            myCaption.visibleBounds = [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    *Not exactly true, because it is missing graphics in not-active states of  MultiStateObjects.
    Since MSOs were introduced in InDesign CS5 the DOM documentation left out this fact so far.
    //EDIT: in the first version I had a comment on a different scope. Since  Document Objects have no "graphic" property, I removed that comment. Sorry.
    Uwe
    P.S. And a Happy New Year to all!
    Message was edited by: Laubender

  • 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

  • How to access iPhone "Photo Library" to get image file properties?

    I want to access iPhone "Photo Library" to get image file properties(name, list etc..) without dialog.
    Is there any suitable method/class to this?

    Allan,
    Thank you for your reply!
    My purpose is access to "Photo Library" by iPhone API.
    Because, I know several iPhone application which has own image list and the list is synced to "Photo Library".
    If I take photo by iPhone native camera, the taken photo is listed up on the image list so I guess those applications can access to "Photo Library" directly.
    Or.. any other solution..?
    Gazza

  • How do I get image files to show up, including theme images?

    I was working on a keynote presentation and sharing it with another person (google drive). All of a sudden I get the file back and all of the images are gone. This includes the theme images. Any suggestions on how to fix?

    The Podcast area in iTunes is where your subscribed podcast feeds would show up. Files (audio and video) downloaded from links contained in the feed would be listed underneath the podcast they were from.
    If the files are public domain or you have rights to them you could create your own podcast feed to share these with the world. You'd need a publicly accessible internet web address with space to hold your files, you'd need to upload the file to this space, and create a podcast RSS XML feed and submit that feed to iTunes.
    Check here for more information, links and tutorials:
    http://www.apple.com/itunes/store/podcaststechspecs.html
    Erik

  • How do I find the aperture image files so that I can attach them to an email

    How do I find the aperture image files? I know that you can email images from aperture. But how would I attach an image using Mail?

    if you mean to go into the Aperture library in order to get image files to print with Canon's software it's not really possible. The best you would be able to do would be to get the master image and if you're shooting RAW that will be the RAW file. In any case no adjustments you made to the image in Aperture would be available, versions don't exist as files until you export them.
    If you want to print with the Canon software you would export the image from Aperture and then print that image file.
    If I've misunderstood your question post back,
    regards

  • Cannot read image file in oracle 10g forms, getting error frm-47100

    I'm unable to read the image from the file location. But If I do re-save via MS-Paint the same image then I'm able to load successfully. I want to load image directly instead of re-save.  Error getting like "frm-47100 Cannot read image file".
    Need your co-operation to solve this issue.
    Thanks in advance!
    declare
      tiff_image_dir varchar2(80):=('D:\IMAGE\');
      photo_filename varchar2(80);
    begin
      photo_filename:=tiff_image_dir||:IMAGE_NO||'.JPG';
      if :image_no is null then
      :Image_no :=:UID_NO;
      end if;
      read_image_file(photo_filename,'JPG','image');
      WRITE_IMAGE_FILE('output.tif','TIFF','g_image_info.image',maximize_compression,original_depth)
    end;

    Hi Sindhu,
    By default any operating system file extension starts after the dot. So in this case when it says 2 dots it will think there is something wrong.
    RajeshALex

  • How to get images dynamically from database without file paths in the table field

    I have a MS-Access database. I am working with ASP.NET. In the database there is product table in which I have "CodeNo" as a field which is a text field, and the product codes like "SM-R-2035". I also have another field "Image" which is also a text field and which have a file path in it corresponding to the particular product Image (e.g. Images\Products\SM-R-2035.jpg). So far every thing is ok. I have to update this site very frequently and lots of images are added each and every time. Its a tedious work to type the paths and file name every time and it also take a lot of time.
    What I am asking is : Is it possible to get images from a specific folder at runtime which is referenced by the "code no" itself and not the file path from the database. (Say at run time the "code no" is referenced from the database and the corresponding image is loaded dynamically from the specified folder). In other word I want to avoid the tedious work of typing.
    Can any one help with this issue. Any other simple suggestions are welcome.

    All you need to do is simple concatenation to obtain the path for the image file.  You didn't mention whether you are using VB.Net, C# or some other language to do your coding.
    If the code in your database is SM-R-2035, the file name is SM-R-2035.jpg and the path to the images foilder is Images\Products\SM-R-2035.jpg, Conceptually here is what you need to do:
    dim code_var
    dim path_var
    code_var = the code you obtain from your relevant field in the database
    path_var = "Images\Products\" & code_var & ".jpg"
    Now path_var is what you would call to obtain the image from your images folder.

  • Why is image file size getting inflated by Pages?

    I have a newsletter I am creating, and I have inserted 6 photos. They have been pre-downsized using Image Ready, so each image is around 30k. But after they have been inserted, the file size of the entire Pages document is huge. So I opened the Package for the document (Control click on the icon) and I see that now the images are each around 300k. The images have not been manipulated in Pages, no shadows or strokes. They have been resized just a teeny bit (made smaller in all cases).
    So what is going on to cause this huge inflation of file size. It is making my document too big to email (although it has helped to control the pdf export to "Good"... or even better to use the Color Sync file size reduction dialog, which is buried so deep in the Print dialog that I can't believe this is a common way to do it...)
    Anyway, all help would be appreciated. Thanks, Peter

    yes, you are right that the best results that I got were from the Print command and the color sync option to reduce file size. Without that, I took a Pages doc that was around 2.7megs and the pdf varied from 1.8-2.5 using the export command. With the color sync method I did get it down to a 450k pdf, which I am satisfied with.
    Still it baffles me that a 40k jpeg will inflate to 300k in Pages. I don't see multiple copies in the Package for the document, so I don't think it is multiplying. And I think that at least one of the images lives in the document without having been resized from within Pages, so that doesn't seem to be involved.
    I am using jpegs, adjusting them in Photoshop and then optimizing them with Image Ready, but they are JPEGs all thru the process, and they clearly are averaging around 35-40k after Image Ready does it's t hing. That is the whole purpose of Image Ready, it comes with Photoshop with that intention solely. I could try saving the image file in Preview or some other program and seeing if it inflates liek the Image REady jpegs do.
    Anyway, I am still curiouis about why this happens, but I can live with the rather bizarre method of using the Print>Color Sych method.
    Thanks to all of you for your help, really,
    Peter

  • Image files getting truncated error

    I am a photographer ... upgraded to mountain lion 10 days ago....some of the image files after processing get a truncated error...I have reinstalled PS6 - LR 4 - Proselect...used two different cards and ran utilities disk check -- did not correct problem.
    IMac is about 9 months old.
    suggestions to fix this issue?
    thanks.

    ORACLE 10g Windows 2003
    Is not the easiest way the alter database rename file [filename] to [newfilename]. This is what I've been trying but I'm getting the identifier is too long error now.
    SQL> alter database rename file "g:\oracle\product\10.1.1\oradata\hspeople\contr
    ol02.ctl" to "e:\oraclecontrolfiles\control02.ctl";
    alter database rename file "g:\oracle\product\10.1.1\oradata\hspeople\control02.
    ctl" to "e:\oraclecontrolfiles\control02.ctl"
    ERROR at line 1:
    ORA-00972: identifier is too long

  • Set the file path of get image method

    I have a program that takes multiple IV curves of some nano-devices and saves each set of the IV curve data into a CSV file. I also have a graph on the main screen that gives me a visual representation of the data after each IV curve is taken.
    My program automatically names each IV curve with a different file path and at the end of the program execution I could have 50-60 IV curves.  What i'm trying to do is have LabVIEW export an image file of the graph on my front panel and save it with the save file path as the CSV file.
    Currently i'm using "Invoke Node -> Export Image" method, which is working fine and doing exactly what I want because i can tell it what file path to save to....however it is just a black and white image.
    There is another method that I found here: http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65​A6D8F86256FBF007A1AC1
    That talks about a "Invoke Node -> Get Image Method" which physically captures the colorful chart on the front panel.  However I cannot figure out a way to tell it the file path to save to.  So when I run my program, after each IV curve, it takes the image from the front panel and then on the next IV curve, it interrupts my program to ask me to overwrite the previous file because it's using the same name.
    Is there a way to tell the Get Image Method to save to a specific file path?

    Hi Puneet_K,
    Thanks for the code....I didn't know you could wire the output of the image data to a write VI.  It makes sense in theory and i thought it would work....but it's not actually writing the PNG. I even tried BMP and JPEG but no results.
    I'm posting an image of my code with the before and after.  The before uses export image and it works, the after uses the get image and it doesn't create the file.
    Attachments:
    before.PNG ‏71 KB
    after.PNG ‏71 KB

  • When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

  • How can I get the resolution of an image file in JSP?

    how can I get the resolution of an image file like jpg,gif,png in JSP ?

    Hii,
    If by the resolution, u mean size..this is how u can come to know....
    String add = "path/to/some.jpeg";
    javax.swing.ImageIcon chain = new javax.swing.ImageIcon(add);
    int height = chain.getIconHeight();
    int width = chain.getIconWidth();
    Hope that helps.
    regards
                   

  • How to get and display image file through servlet

    If I've got a jpg file on the server..
    How can I use servlet to return that image via the following calling method
    /displayfile?filename=image.jpg
    the image.jpg in the server will return
    I know that I need to set the content type to image/jpeg
    after that, how can I return the image file to browser?

    - Get the "file" Parameter from the URL QueryString
    - check if the File specified exists on your filesystem
    - read in the jpg from the file (best would be binary)
    - set the right Mime Type (as you already wrote)
    - write the filecontent to the ServletOutput as you would do with any other content
    - that's it.

  • I cannot install iTunes 10.5. Get error message: C:\Program Files\Common Files\Apple\Apple Application support\webkit.resources\inspector\images\timeline Pill Orange.png"  I seem to be missing the "image file."  How to fix.

    Teh problem seems to be tht I am missing the "images" file.  Installs to that point and stops.

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

Maybe you are looking for

  • Directory structure for different drivers

    I have different instruments and am creating Vis for these instruments to support custom features. These Vis will then be used as subvis to create application. Say there is DMM, Scope and power supply. Will creating their own llbs (one llb for DMM, o

  • How do I rectify an error code 1437?

    How do I rectify an error code 1437? The ipod classic has frozen, none of the controls function on the device. When connected to the laptop a message read need to reset ipod, actioned reset and then a few seconds later the message came up 'unable to

  • InDesign CS3 Freezing Opening Glyph Pallet

    This is embarassing. I logged in with the wong account so I'm reposting this under my correct account. Sorry. I'm working on developing a font and have been using it in InDesign CS3 testing some of the features in the font. InD will also be the prima

  • Selection logic

    Hi all,, On my selection screen i have aufnr-aufk vblen-vbap now i want to select data from aufk and the corresponding values from vbap. so i wrote the below select select data from aufk where aufk in my selection screeen select data from vbap for al

  • Extracting data from ms sql data base

    Hi Experts, we have a requirement of extracting data from MS SQL data base,could any one pls help me with the approach to extract data from ms sql data base(actually we have to extract the data from PRIMAVERA i.e the back end data base is MS SQL data