View Single Post
Old 12-23-2009, 06:19 AM   #38
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by ahsin_111 View Post
I am not able to remove the logo watermark from the first page... How you have done it.
pdftk file.pdf output tmp.pdf uncompress
(do some magic[*] with tmp.pdf)
pdftk tmp.pdf output file.pdf compress

[*] The magic boils down to searching for:

Code:
stream
0.2314 0.0471 0.3765 rg
...
h
f
and turning that last "f" into "%f", this only disables the filling of the logo, so it becomes invisible.
Jellby is offline   Reply With Quote