Skip to content

Commit

Permalink
Correct default fit
Browse files Browse the repository at this point in the history
  • Loading branch information
reecebrowne committed Dec 18, 2024
1 parent 12d8604 commit 9eed761
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public ResponseEntity<byte[]> convertToPdf(@ModelAttribute ConvertToPdfRequest r
colorType = "color";
}
if (fitOption == null || fitOption.isEmpty()) {
fitOption = "fitDocumentToImage";
fitOption = "fillPage";
}
// Convert the file to PDF and get the resulting bytes
byte[] bytes =
Expand Down

0 comments on commit 9eed761

Please sign in to comment.