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)?
in RS4 XML output file I'm found tag "block" with attributes blockType="Picture" pageElemId="{GUID}". How I could get this image (file|stream)?
Comments
4 comments
Isn't this the original image that you submitted through the input folder? If so, don't you already have that image?
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:
-
-
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
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.
Please sign in to leave a comment.