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