- Added option to provide array buffer or uint8array directly instead of passing a object with key src.
- Improved checking if height and width are number
Prev
const pdf = new ImagesToPdf([{ src: ab1 }])
Now
const pdf = new ImagesToPdf([ab1])
Prev
const pdf = new ImagesToPdf([{ src: ab1 }])
Now
const pdf = new ImagesToPdf([ab1])