Hi
I think this is the way to go, rather than copying images over.
Removing text could be done by either;
1. Replace chars in text draw commands with spaces. I guess it would be the
simplest and fastest approach if possible.
2. Remove text draw commands (basically anything between and including
Hi
I got it working, I think. At least I guess a PDF with no text and images
retained, that I can open in Adobe Reader. Will test further and report back if
it did not after all. Thanks for the pointers so far!
-Oprindelig meddelelse-
Fra: Jacob Pedersen
Sendt: 27. november 2019 09:06
Hi,
I have done something of that sort where I did filter out a few text
instructions from the stream, this can be done in this manner.
Suggestion to improve the following are more than welcome, particularly
the fact that I have to append spaces to strings.
char * buffer = new char[ page