pictures in output

Hi,
in RS4 XML output file I'm found tag "block" with attributes blockType="Picture" pageElemId="{GUID}". How I could get this image (file|stream)?

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Sushi
    Arturasv,

    Isn't this the original image that you submitted through the input folder? If so, don't you already have that image?
    0
  • Avatar
    Artūras Vonsevičius
    Sushi,
    This is not original image. Original is pdf file. Images and text blocks are selected from pages on verification stage. Text blocks are saved in output xml like:
    -
    -


    -
    -

    -
    2. Bla bla bla

    -
    last text.





    but images like:
    -
    -


    0
  • Avatar
    Artūras Vonsevičius
    Sushi,
    This is not original image. Original is pdf file. Images and text blocks are selected from pages on verification stage. Text blocks are saved in output xml like:
    block b="301" r="2169" t="225" l="1693" pageElemId="{CA791057-FFEA-4336-B814-AC619636486C}" blockType="Text"
    region
    rect b="301" r="2169" t="225" l="1693"/
    /region
    text id="{CA791057-FFEA-4336-B814-AC619636486C}"
    par lineSpacing="2010" align="Right"
    line b="295" r="2163" t="231" l="1699" baseline="286"
    formatting lang="Default" (10) L 6074 B/formatting
    /line
    /par
    /text
    /block
    -
    -


    but images like:
    block b="665" r="906" t="123" l="428" pageElemId="{974FBD5B-48B0-43E4-BCFB-2FF5DEF0E0CD}" blockType="Picture"
    region
    rect b="492" r="906" t="123" l="428"/
    rect b="665" r="906" t="492" l="444"/
    /region
    /block
    0
  • Avatar
    Sushi


    I think the image value you are talking about is based on the orginal image you loaded in. Basically it detect a region on the page that looked like a image. That is coordinate for it.
    0

Please sign in to leave a comment.