PDF v0.3.4 Pdf.Images.PNG View Source
Link to this section Summary
Functions
Decodes an image and returns the bit depth, height, width and colour type
Link to this section Functions
Decodes an image and returns the bit depth, height, width and colour type
Examples:
> Pdf.Image.PNG.decode("path/to/image.png")
{:ok, {8, 75, 100, 3}) # 8 bits, height: 75px, width: 100px, color type: 3 (indexed colour)