corymickelson / NoPoDoFo

node pdf native bindings
GNU Affero General Public License v3.0
26 stars 6 forks source link

Image Class does not have width / height getter/setter #88

Closed corymickelson closed 5 years ago

corymickelson commented 5 years ago

Update the image class with getter / setter methods for width and height values.

87

corymickelson commented 5 years ago

PoDoFo does not provide a simple api for resizing the image from the Image class. Sizing operations are done during painting. Documentation has been updated and the Painter.drawImage has been updated to accept a width height OR a scaling factor. See 0d5ab25a37246238afb945a2108d42879ba8c396