Is it possible to submit an image file with PDF form?

Hello,
I know that Acrobat does not offer a field for image file submission.
whether there are workarounds to solve this problem?
I have found suggestions regarding place an image to button icon:
   event.target.buttonImportIcon();
but I can't understand is it possible to submit this image to server (Reader supports PDF only).
Any advices?
Yury

Hi Yury,
Yes, that's correct you can create a button and add a script to it that would prompt the user to select an image file when that button is clicked. Then that image can be displayed using the same button (buttons can show either an image or text).
The script in question is:
event.target.buttonImportIcon();
You need to add it as an Run a JavaScript-action to your button, triggered by the MouseUp event, and of course set the button's layout.
Please refer to this link : https://acrobatusers.com/tutorials/how-to-create-a-button-form-field-to-insert-a-pdf-file
On submitting the image it gets embedded with the PDF.
If the users are using Acrobat they will be able to view the image in the PDF, however if they are using only Reader, you will have to create the form using LiveCycle & then save it in a Reader Extendable Format.
Regards,
Aadesh

Similar Messages

  • Display blob file with oracle forms

    I need to display an image file with oracle forms.
    can any body tell me how to do this ?
    Thanks

    How to do this is dependent on which version of Oracle Forms you are using. Please let us know what version (eg; 10.1.3.x.x not 10g) of Oracle Forms you are using and how your application is deployed (Client/Server or web). If web, what is your Java version?
    Craig...

  • I still use Aperture 2.1.4.  I need to export an image file with a CMYK profile.  Whereas a generic CMYK profile is listed in ColorSync Utility, it does not appear on the list of profiles in the edit portion of the export preset dialogue.  Help?

    I still use Aperture 2.1.4.  I need to export an image file with a CMYK profile.  Whereas a generic CMYK profile is listed in ColorSync Utility, it does not appear on the list of profiles in the edit portion of the export preset dialogue.  Help?  Is there some way to add the CMYK profile to the list of choices that are available in the export preset dialogue such that I can choose it?

    leonieDF
    Thanks for your response.  My profiles are located within color sync utility as you can see here:   
    These profiles do not respond to clicking and dragging.  Since they are all in one place, more or less, I'm reluctant to make further attempts to relocate them.  Accessing the CMYK profile is the first difficult experience I've encountered with this arrangement.  I have never needed the CMYK profile until recently, and that need has now past.  However, it remains a mystery to me as to why it does not appear with all the others on the menu of export choices in Aperture 2, or on the menu of profile assignment choices in the Preview application (where again all the other profiles are listed as choices).  I'm beginning to think my current set up will permit me to view an image that was created in CMYK space, but does not easily assign, or convert to that space.  I don't face these restrictions with all the others, so it remains a curious circumstance for me.  I anticipate upgrading my computer and software in the near future which might alleviate this issue altogether.  Again, many thanks for your attention to this matter.  The reach of this community is astounding.

  • To convert multiple image files to pdf using pdfsharp in C#

    Hey guys I have this C# code to convert any image file to .pdf using pdfsharp.dll. But I want to select multiple images for conversion please help. here's my code (plz note enable pdfsharp.dll in the reference)
    usingSystem;
    usingSystem.Collections.Generic;
    usingSystem.Linq;
    usingSystem.Text;
    usingSystem.Threading.Tasks;
    usingPdfSharp.Pdf;
    usingPdfSharp.Drawing;
    usingSystem.IO;
    namespaceConsoleApplication1
    classProgram
    staticvoidMain(string[]
    args)
    PdfDocumentdoc =
    newPdfDocument();
    doc.Pages.Add(newPdfPage());
    XGraphicsxgr =
    XGraphics.FromPdfPage(doc.Pages[0]);
    XImageimg =
    XImage.FromFile(source
    path...);
    xgr.DrawImage(img,0,0);
    doc.Save(destination path...);
    doc.Close();

    try this one
    public string CreatePDF(System.Collections.Generic.List<byte[]> images)
    dynamic PDFGeneratePath = Server.MapPath("../images/pdfimages/");
    dynamic FileName = "attachmentpdf-" + DateTime.Now.Ticks + ".pdf";
    if (images.Count >= 1) {
    Document document = new Document(PageSize.LETTER);
    try {
    // Create pdfimages directory in images folder.
    if ((!Directory.Exists(PDFGeneratePath))) {
    Directory.CreateDirectory(PDFGeneratePath);
    // we create a writer that listens to the document
    // and directs a PDF-stream to a file
    PdfWriter.GetInstance(document, new FileStream(PDFGeneratePath + FileName, FileMode.Create));
    // opens up the document
    document.Open();
    // Add metadata to the document. This information is visible when viewing the
    // Set images in table
    PdfPTable imageTable = new PdfPTable(2);
    imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
    imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
    for (int ImageIndex = 0; ImageIndex <= images.Count - 1; ImageIndex++) {
    if ((images(ImageIndex) != null) && (images(ImageIndex).Length > 0)) {
    iTextSharp.text.Image pic = iTextSharp.text.Image.GetInstance(SRS.Utility.Utils.ByteArrayToImage(images(ImageIndex)), System.Drawing.Imaging.ImageFormat.Jpeg);
    // Setting image resolution
    if (pic.Height > pic.Width) {
    float percentage = 0f;
    percentage = 400 / pic.Height;
    pic.ScalePercent(percentage * 100);
    } else {
    float percentage = 0f;
    percentage = 240 / pic.Width;
    pic.ScalePercent(percentage * 100);
    pic.Border = iTextSharp.text.Rectangle.BOX;
    pic.BorderColor = iTextSharp.text.BaseColor.BLACK;
    pic.BorderWidth = 3f;
    imageTable.AddCell(pic);
    if (((ImageIndex + 1) % 6 == 0)) {
    document.Add(imageTable);
    document.NewPage();
    imageTable = new PdfPTable(2);
    imageTable.DefaultCell.Border = Rectangle.NO_BORDER;
    imageTable.DefaultCell.HorizontalAlignment = Element.ALIGN_CENTER;
    if ((ImageIndex == (images.Count - 1))) {
    imageTable.AddCell(string.Empty);
    document.Add(imageTable);
    document.NewPage();
    } catch (Exception ex) {
    throw ex;
    } finally {
    // Close the document object
    // Clean up
    document.Close();
    document = null;
    return PDFGeneratePath + FileName;

  • Can I insert the image file into PDF file  in Adobe X Standard ?

    can I insert the image file into PDF file in Adobe X Standard ?

    http://matt.coneybeare.me/how-to-make-an-html-signature-in-apple-mail-for-maveri cks-os-x-10-dot-9/

  • Image files with large pixel dimensions display out of focus in a Bridge viewer?

    I Create image files with pixel dimensions 2048x1365. When I display these files from Bridge on my Mac, either by pressing the space bar or in a slideshow, the images are out of focus. If I left click or click/hold and move the images slightly on screen they display in sharp focus. Unfortunately, although landscape-orientation images display correctly with no change in position or size, portrait-orientation files are enlarged and display with top and bottom off the screen. The pixel dimensions of my monitor are 2450x1600 so, yes, if portrait images are displayed at 100% they should display off screen, but this does not excuse the out of focus display of landscape files on this large screen. Nor does this explain why the portrait files are out of focus when they fit on screen. When the same files open in a Camera Raw window they are in focus. When they open in Photoshop at 100% the files are in focus.

    Hi, Clay. Photoshop.com has its own forum, so you might want to post this there:
    http://forums.adobe.com/community/photoshopdotcom

  • Is it possible to put an iDVD file, with chapter index, on a website?

    Is it possible to put an iDVD file, with chapter index, on a website?

    you could offer the VIDEO_TS folder of a videoDVD for download.
    but, no, you can not offer the functionality of a videoDVD by simply uploading the files.
    consider any web-site generator (software, on-line/template based) to create a website with 'links' to the indiviual videos. with some craftmanship you could 'emulate' the look&feel of your DVD …-
    btw: users of web-sites usually expect a diff. 'format' for video than mp2s of a videoDVD.

  • Converting Image files to PDF

    I tried converting some image files to pdf, and found that
    resulted in loss of resolution. Please can you advise an
    alternative option for me not to lose resolution?
    Regards,
    Rachel.

    Same thing for me...
    PDF:
    https://share.acrobat.com/adc/document.do?docid=80c9f045-d4e8-4f4d-a1b2-cbee603822b6
    PNG after pdf generation:
    https://share.acrobat.com/adc/document.do?docid=92b33878-9986-4b09-8660-0b8e8656e188
    the png was a exported PNG 32 from Fireworks CS4
    Hope this helps! And if you need any other test files, let me
    know!

  • Attached files in pdf form...

    hi,
    i designed process like below for my question and lca file( rename write_pdf.txt to write_pdf.lca ), too.
    1. I want to attached files in pdf form like below.
    2. when attached file in pdf form, if not pdf format, want to attach file after converting to pdf format.
    3. Attched files must maintain in pdf form for process.
    i need detailed description for this. if possible, please send to me sample.
    how can i do ? m_m;; sorry for poor english..
    thanks.

    importDataObject
    Imports an external file into the document and associates the specified name with the data object. Data objects can later be extracted or manipulated.
    Related objects, properties, and methods are dataObjects, getDataObject, openDataObject, createDataObject, exportDataObject, removeDataObject, getDataObjectContents, and setDataObjectContents, and the Data Object.
    NOTES:(SecurityS): If the cDIPath parameter is specified, this method can only be executed during batch, console or menu events, or through an external call (for example, OLE). See “Privileged versus Non-privileged Context” on page 34 for details. See the event Object for a discussion of Acrobat JavaScript events.
    When a file attachment is imported using importDataObject, the value of its Data.name is assigned by the parameter cName. However, when a file is attached using the UI, its name is automatically assigned. The attachments are assigned the sequential names “Untitled Object”, “Untitled Object 2”, “Untitled Object 3”, and so on.
    Returns
    true on success. An exception is thrown on failure.
    Example
    this.importDataObject("MyData");
    -Nith

  • Is there a way to merge Static PDF files and PDF Forms

    Hi All,
    The issue I am facing is this: 1200+ PDF forms that employees
    will need to sign. The docs are being created in MS Word, and all
    have a standard signature block. We have prototyped using LiveCycle
    Designer 8 to add fields to static PDF files (print Word files into
    Acrobat, import into LiveCycle and paste in fields) but this is
    pretty labor-intensive to use with a minimum of 1200 forms per
    quarter.
    The employee forms go into a CF8/Oracle library app (stored
    as BLOBs) and served up for 7,000 or so employees to sign. Posted
    data goes back into database.
    Here is the issue:
    Does anyone know any way to use some combination of cfpdf /
    cfpdfform / cfdocument that will allow us to create ONE generic
    signature block form, 1200 static PDF files, and merge them on the
    fly?
    <cfdocument> apparently does not allow PDF data to be
    included with a <cfpdfform>, as I have tried outputting PDF
    variables, toBinary(PDF variable), PDF served by <cfcontent>
    and various other combinations.
    (If the non-form data were HTML, we could easily output in a
    <cfdocumentsection> of the cfdocument, and add the
    <cfpdfform source="#genericForm#" action="populate"> and be
    done with it. But, we can't.)
    <cfpdf action="merge"> with a combination of a static
    PDF file and a populated form results in a flattend PDF file with
    no form data.
    I am acutely aware that LiveCycle 8 uses the XFA schema, and
    regular PDF documents use a different schema. And, this may
    prohibit what we want to do.
    If anyone has experience with CF8 PDFs and PDF forms, or has
    any helpful thoughts, I would be appreciatively gross. Needless to
    say, this is a six month project that must be live at the end
    November.
    Thanks!
    Jim Bates
    Verizon Business

    As I mentioned on the other thread, the forms need to be
    flattened. CFPDF cannot flatten LiveCycle forms, only Acrobat
    Forms. The suggested solution was to use LiveCycle ES
    http://www.adobeforums.com/webx/.3c052176

  • Load data in xml file into Pdf form created by LiveCycle Designer

    I want to load data in xml file into Pdf form when Pdf opened and Form field will be filled with data from xml file .I try to use $host.importdata("filename.xml"); But i could not find suitable place to run my code. Can anyone give me some advice? thank you.

    Hi,
    extract your xml and then you can use insert all clause.
    here's very small example on 10.2.0.1.0
    SQL> create table table1(id number,val varchar2(10));
    Table created.
    SQL> create table table2(id number,val varchar2(10));
    Table created.
    SQL> insert all
      2  into table1 values(id,val)
      3  into table2 values(id2,val2)
      4  select extractValue(x.col,'/a/id1') id
      5        ,extractValue(x.col,'/a/value') val
      6        ,extractValue(x.col,'/a/value2') val2
      7        ,extractValue(x.col,'/a/id2') id2
      8  from (select xmltype('<a><id1>1</id1><value>a</value><id2>2</id2><value2>b</value2></a>') col from dual) x;
    2 rows created.
    SQL> select * from table1;
            ID VAL                                                                 
             1 a                                                                   
    SQL> select * from table2;
            ID VAL                                                                 
             2 b                                                                    Ants

  • How to save as AI file with PDF compatability at the same location?

    Hi Guys,
    Requesting for script. Here are the details..
    I  do have lot of AI files (from different paths) which are do not have PDF compatability switch  on. So now I am looking for script that all the files should save as at  the same place (over write) and should switch on the PDF compatability  switch on.
    I tried with Action script, But the problem  is, action scripting is recording the path where I saved first time.  That means, all the files are save as into recorded path. This makes me  some what confusion, because source file will be 1 and save file with PDF  1. So in total 2 files will create which is not good.
    So I am  requesting you that script schould overwirte at the same path and should  switch on the PDF compatability.
    FYI: Using Adobe CS4...
    If you help for this, it is really greatful for me.
    Thanks in advance...
    Regards
    HARI

    #target illustrator
    var df = new Folder('~/Desktop');
    var topLevel = Folder.selectDialog('Please choose your Top Level Folder…', df);
    if (topLevel != null) {
         topLevel = topLevel.fsName
         var fileList = new Array();
         fileListRecursive(topLevel, /\.ai$/i);
         if (fileList.length > 0) {
              main();    
         } else {
              alert('This Folder or sub folders contained NO Illustrator AI files?');    
    function main() {
         with (app) {
              while (documents.length) {
                     activeDocument.close(SaveOptions.PROMPTTOSAVECHANGES);
              //var orginalUIL = userInteractionLevel;    
              //userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
              for (var a = 0; a < fileList.length; a++) {
                   var docRef = open(fileList[a]);
                   with (docRef) {
                        var aiOptions = new IllustratorSaveOptions();
                        aiOptions.compatibility = Compatibility.ILLUSTRATOR12; // Change to 14 for CS4
                        aiOptions.compressed = true;
                        aiOptions.embedICCProfile = true;
                        aiOptions.embedLinkedFiles = false;
                        aiOptions.flattenOutput = OutputFlattening.PRESERVEAPPEARANCE;
                        aiOptions.fontSubsetThreshold = 0;
                        aiOptions.overprint = PDFOverprint.PRESERVEPDFOVERPRINT;
                        aiOptions.pdfCompatible = true;
                        aiFilePath = new File(fullName);
                        saveAs(aiFilePath, aiOptions);
                        close(SaveOptions.DONOTSAVECHANGES);
              //userInteractionLevel = orginalUIL;
    function fileListRecursive(f, exp) {         
         var t = Folder(f).getFiles();
         for (var i = 0; i < t.length; i++) {
              if (t[i] instanceof File && RegExp(exp).test(t[i].fsName)) fileList.push(t[i]);
              if (t[i] instanceof Folder) fileListRecursive(t[i].fsName, exp);
    }

  • I am trying to open a file in pdf form and I keep getting "there was

    I am trying to open a file in pdf form and I keep getting ...there was a problem reading this document....any suggestions???

    Hi,
    Thanks for reporting the issue; we would like to reproduce it at our end. Please give in the below information to investigate on this,
    1. The Linux distribution (Version of Linux) you are using.
    2. Are you opening the pdf from shared location? If yes, then how is the shared location mounted.
    It would help if you can send in the pdf you are trying to open. Please email the same to vaibhavp at adobe dot com or attach it on the forum.
    Thanks,
    Vaibhav

  • I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    It's probably best to ask in the InDesign Scripting forum:
    InDesign Scripting

  • Can't open pdf file with pdf.xml file extension

    Hi
    I can't open a file with pdf.xml extension. Does anyone have this problem? How did you resolve it?

    Actually, the extension is just .xml. Anything before the period doesn't count as part of the extension.
    Your browser may be able to open it, if not see here ---->XML File (What It Is & How To Open One)

Maybe you are looking for

  • Data of measure is not seen in  webi report when drill is disabled

    Hi i have created a hierarchy in universe on which i drill down in webi reports the problem is that  i have drilled my report till the last level and saved it the object  on which im drilling  is set as a section in the report so i have added a measu

  • Report Painter: Incorrect formula component = Y002

    Dear All, I have a error messagewhile creating the Formula in GRR1 Incorrect formula component = Y002     Message no. KX430 Diagnosis     An incorrect component was discovered in one of the formulas. Procedure     You can get an overview of the valid

  • Regarding Knowledge Management

    Hi, I have experience in Enterprise Portal, but I am totally new to Knowledge Management.I want start learning Knowledge Management. I want to know how do i start of with it. What softwares do I need to install, I assume it is Netweaver Developer stu

  • K900 can't upgrade

    HI I have this phone 2 weeks. I'm trying to upgrade the phone but it's not work.  intallation faild : failed to install ota package/ what can i do? thank you Solved! Go to Solution.

  • Driver software won't start

    New Hp laptop w/Win8.1-64 bit software. Tried  download drivers (full) for Photosmart C4385 printer but, when click on software file,,it extracts and after a few mins, get a Runtime error message  the Setup.exe file, stating that "runtime is asking p