mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Annots behaviour
This commit is contained in:
@ -3725,6 +3725,7 @@ let rasterize antialias device res annots pdf range =
|
|||||||
(Pdfpage.pages_of_pagetree pdf)
|
(Pdfpage.pages_of_pagetree pdf)
|
||||||
(ilist 1 (Pdfpage.endpage pdf)))
|
(ilist 1 (Pdfpage.endpage pdf)))
|
||||||
in
|
in
|
||||||
|
let pdf = if annots then Cpdfannot.remove_annotations range pdf else pdf in
|
||||||
Sys.remove tmppdf;
|
Sys.remove tmppdf;
|
||||||
pdf
|
pdf
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user