![]() ![]() ![]() Then apply it to your original PDF (A4): pdftk original.pdf background gray.pdf output orig-with-backgr.pdf. To create a PDF page (A4 size) which could serve as the gray background, you could use Ghostscript: gs -o gray.pdf -sDEVICE=pdfwrite -g5950x8420 -c ".8 setgray 0 0 595 842 rectfill showpage". (A black background would surely make it unreadable, because most text is black and would remain so.) But this would probably make some or many PDFs unreadable. I've shortly considered to apply a gray-ish background to the PDF with the help of pdftk. The question would remain: what IS a "suitable" ICC color profil for your purpose? However, you might be able to achieve a similar thing by applying a suitable ICC color profile to the input PDF and produce, with the help of (a very recent version of) Ghostscript, a new output PDF from this. The PDF remains the same during and after viewing it. What you describe for Adobe Reader does not change the PDF file itself, it changes the way the application renders the pages (by inverting colors, or similar). (Because in the general case, you'll have to change all colors of the PDF pages, not just the background alone, so you can still have some contrast and color differences.) ![]() ![]() There is no way to do this directly, with no (Free Software or gratis) tool I'm aware of. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |