Displaying 1 result from an estimated 1 matches for "_some_pdf_".
2024 Jun 01
2
Tools to modify highlighted areas in pdf documents?
...a in the pdf-document is possible. Changing the color is more trickier (somehow possible in Microsoft Edger; though the direct approach to rewrite the actual stream is better). Maybe there are some tools to do it?
Some R code is below.
Sincerely,
Leonard
#########
library(zip)
con = file("_some_pdf_.pdf", "rb")
NL = 0
# - very dirty hack;
# - assumes Annotations are in the last fragment/chunk;
while(TRUE) {
tmp = readBin(con, "raw", 1024*128 + 515);
??????if(length(tmp) == 0) break;
??????x = tmp;
??????# isNL = (x == 10) | (x == 13);
??????isNL = (x == 13);
?????...