Add DPI option, issue #52

This commit is contained in:
Milan Nikolic
2026-06-24 20:44:29 +02:00
parent f65fc4bafa
commit 9de98599a9
6 changed files with 83 additions and 6 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func (c *Converter) convertDocument(ctx context.Context, fileName string) error
return fmt.Errorf("convertDocument: %w", ctx.Err())
}
img, err := doc.Image(n)
img, err := doc.ImageDPI(n, c.renderDPI())
if err != nil {
return fmt.Errorf("convertDocument: %w", err)
}