PDF - re/generate image using stream content
Posted
by
tom_tap
on Super User
See other posts from Super User
or by tom_tap
Published on 2012-06-28T08:36:26Z
Indexed on
2012/06/28
9:18 UTC
Read the original article
Hit count: 193
conversion
I have pdf file with 8 content streams (bytes) which behave like image layers (but they are not layers that I can turn off/on in Adobe Reader). I would like to extract these images separately, because they overlap each other (thus I am not able to "Take a Snapshot" or "Copy File to Clipboard"). So now I have these streams in below format:
<Start Stream>
q
599.7601 0 0 71.99921 5951.03423 4282.48177 cm
/Im0 Do
Q
q
599.7601 0 0 71.99921 5951.03432 4210.48177 cm
/Im1 Do
Q
q
599.7601 0 0 71.99921 5951.03441 4138.48177 cm
/Im2 Do
[...]
My question is: how to use these data to generate or regenerate these images to be able to save it as raster or vector file? I have already tried pstoedit, but it doesn't work properly beacuse of these multi streams. Same with PDFedit.
© Super User or respective owner