How does Acrobat extract vector graphics not inside an XObject

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default How does Acrobat extract vector graphics not inside an XObject

    I was wondering how Adobe extracts images?

    I am currently using Java to access the content stream in a PDF with vector graphics. I can extract the path data but the individual images don't seem to be within a XObject or Form XObject so if there are 4 vector images within a page I can only export them as one file rather than 4 different images.

    Despite this Adobe Acrobat was able to export the 4 vector images separately no problem. How was it able to do that when they don’t seem to be grouped? Then would I be able to copy that functionality by writing a plug-in?

    Thanks
    Graeme_Kidd@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Exporting Vector Graphics
      Hi, I have just made a logo in freehand. its is vector format. Question is Can I export it, say in photoshop, in same vector format? I tried...
    2. How to extract/export/save a vector image from a PDF file?
      How to extract/export/save a vector image that is inside a PDF file? The "Advanced/Document Processing/Export all images" of Acrobat Pro 8 on Mac...
    3. Extract vector graphics
      Hi, I am wanting to develop a program that will work like Acrobat's Extract all images functionality except it will only look for vector images and...
    4. Vector Graphics Re-Sizing
      Hi There, I'm relatively new to Flex but I've googled around and I can't come across an answer so I'm hoping you can help. I've come across a bit...
    5. working with vector graphics
      Hi! How should i use vector graphics that i made in freehand into director?
  3. #2

    Default Re: How does Acrobat extract vector graphics not inside an XObject

    Without seeing a sample PDF that demonstrates this, I can't really comment.

    Also, what function in Acrobat did you use to "export vector graphics"?
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: How does Acrobat extract vector graphics not inside an XObject

    "Also, what function in Acrobat did you use to "export vector graphics"?"
    I was using Acrobat 7.0.5 Professional and went to:
    Save As -> Save As Type: HTML

    It then saved all the images to a separate folder including the vector graphics.

    The "Export All Images" functionality in the "Advanced" menu can’t do this as it complains that it can only extract bitmap or raster images.
    Graeme_Kidd@adobeforums.com Guest

  5. #4

    Default Re: How does Acrobat extract vector graphics not inside an XObject

    In the SaveAsHTML case, we convert all vector information into raster. We aren't necessarily seeing them as separate "images" (hence the error message when trying to export images) but as separate "areas" on the page that need to be exported for use from HTML.
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: How does Acrobat extract vector graphics not inside an XObject

    Ah OK that was very helpful,

    So if there is nothing in the PDF that says this section of path data is part of an image you simply attempt to group the path data into areas. I imagine this could be done before or after the rasterisation process, either by looking for white spaces or applying some hit test on the positioning of the path data.

    Thanks very much, that has cleared a lot of things up for me.
    Graeme_Kidd@adobeforums.com Guest

  7. #6

    Default Re: How does Acrobat extract vector graphics not inside an XObject

    Pretty much, yes.

    Some PDFs, however, DO have "tags" that identify individual images - look at the section of ISO 32000-1 on Tagging & structure along with Marked Content.
    Leonard_Rosenthol@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139