Python Forum
Removal of watermark logo pdf file Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removal of watermark logo pdf file Python
#1
Hello,

Any solution to remove watermark image from pdf file using python

I tried using cv2.inpaint
It is just changing the colour.

import cv2
import numpy as np

img = cv2.imread("test.jpg")


alpha = 2.0
beta = -130

new = alpha * img + beta
new = np.clip(new, 0, 255).astype(np.uint8)

cv2.imwrite("cleaned.png", new)

is there any otherway to remove bookmark image from pdf pages.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Removal of items in .txt using python nanakochan 8 13,961 Sep-02-2022, 04:58 PM
Last Post: perfringo
  Removal of duplicates teebee891 1 2,443 Feb-01-2021, 12:06 PM
Last Post: jefsummers
  logo language code into python aayushi98 2 84,974 Jan-26-2021, 09:02 PM
Last Post: Serafim
  Adding logo to the image Truman 4 4,968 Feb-25-2019, 09:41 PM
Last Post: Truman
  Vertical Seam Removal scott14 0 2,603 Dec-27-2018, 03:03 AM
Last Post: scott14

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020