Module images

Module images 

Source
Expand description

Image support for genpdfi-rs.

Structs§

Image
An image to embed in the PDF.

Enums§

ImageSource 🔒
Enum representing either a raster image or a vector SVG image.

Functions§

bounding_box_offset_and_size 🔒
Given the Size of a box (width/height), compute the bounding-box size and offset when rotated some degrees. The offset is the distance from the top-left corner of the bounding box to the (originally) lower-left corner of the image.