Correct default fit

This commit is contained in:
Reece Browne 2024-12-18 00:36:04 +00:00
parent 12d86049f6
commit 9eed761346

View File

@ -215,7 +215,7 @@ public class ConvertImgPDFController {
colorType = "color"; colorType = "color";
} }
if (fitOption == null || fitOption.isEmpty()) { if (fitOption == null || fitOption.isEmpty()) {
fitOption = "fitDocumentToImage"; fitOption = "fillPage";
} }
// Convert the file to PDF and get the resulting bytes // Convert the file to PDF and get the resulting bytes
byte[] bytes = byte[] bytes =