mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Prevent new missing mediabox warning triggering in -image-resolution
This commit is contained in:
2
cpdf.ml
2
cpdf.ml
@@ -4422,7 +4422,7 @@ let rec image_resolution_page pdf page pagenum dpi (images : (int * string * xob
|
||||
in
|
||||
let page =
|
||||
{Pdfpage.content = [content];
|
||||
Pdfpage.mediabox = Pdf.Null;
|
||||
Pdfpage.mediabox = Pdfpage.rectangle_of_paper Pdfpaper.a4;
|
||||
Pdfpage.resources = resources;
|
||||
Pdfpage.rotate = Pdfpage.Rotate0;
|
||||
Pdfpage.rest = Pdf.Dictionary []}
|
||||
|
Reference in New Issue
Block a user