I have the following original pdf document (3 - pages are shown)
The pdf link is https://filebin.net/ovsvodpstlysglgw/testing2.pdf?t=xwdku113
I am trying to invert the color of the pdf using
\documentclass{article}
\usepackage{geometry}
\usepackage{pdfpages}
\usepackage{xcolor}
\pagecolor[rgb]{0,0,0}
\color[rgb]{1,1,1}
\begin{document}
\includepdfmerge[fitpaper]{./testing2.pdf, 1}
\includepdfmerge[fitpaper]{./testing2.pdf, 2}
\includepdfmerge[fitpaper]{./testing2.pdf, 3}
\end{document}
I get the following output. The text in black color is not getting inverted (eg page numbers and text in page 2). I am expecting it to become white. In Page 1 added two new white lines after inverting. But in page 3 black lines got inverted to white.
So how can i get it inverted it correctly like below (i got this using gimp->colors->value invert the first image)



page 3 the black lines got inverted to whitecould be a special case then, – Santhosh Aug 06 '20 at 18:24https://filebin.net/ovsvodpstlysglgw/testing2.pdf?t=xwdku113– Santhosh Aug 06 '20 at 18:41