drawImageBox method
Implementation
void drawImageBox(
PdfDocument document,
PdfVisualImage image,
PdfRect bounds,
) {
final pdfImage = image.toPdfImage(document);
drawImage(pdfImage, bounds.left, bounds.bottom, bounds.width, bounds.height);
}