plangrid / pdf-annotate

Pure-python library for adding annotations to PDFs
MIT License
191 stars 45 forks source link

input 'image' , parameter issue #82

Open showbit01 opened 1 year ago

showbit01 commented 1 year ago

Trying to input image but in Image.py there is a parameter of (self._appearance.image) missing.

This is the function in Image.py file.

def image_xobject(self): 
     if self._image_xobject is None: 
         self._image_xobject = self.make_image_xobject( 
             self._appearance.image, 
         ) 
     return self._image_xobject