You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to apply the -dPreserveAnnotTypes is NOT working, for example lets try the following to preserve HYPERLINKS:
Example: gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf -c "/PreserveAnnotTypes [/Link] def" -f basic_link_1.pdf
BUT, please note that this is NOT working, unfortunately..... it flatten NOTHING, all annotations are NOT flatten, and hyperlinks are also NOT flatten.
Also we try the following, and it doesn't work either: gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf -dPreserveAnnots=false -c "/PreserveAnnotTypes [/Link] def" -f basic-link-1.pdf
-dPreserveAnnotTypes NOT Working
Taking a look under the PreserveAnnots switch here:
https://ghostscript.readthedocs.io/en/latest/VectorDevices.html#pdf-file-output-pdfwrite
Trying to apply the -dPreserveAnnotTypes is NOT working, for example lets try the following to preserve HYPERLINKS:
Example:
gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf -c "/PreserveAnnotTypes [/Link] def" -f basic_link_1.pdf
BUT, please note that this is NOT working, unfortunately..... it flatten NOTHING, all annotations are NOT flatten, and hyperlinks are also NOT flatten.
Also we try the following, and it doesn't work either:
gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf -dPreserveAnnots=false -c "/PreserveAnnotTypes [/Link] def" -f basic-link-1.pdf
Please see the relevant issue at:
#113
Can you please examine where is the error regarding -dPreserveAnnotTypes switch ?
The text was updated successfully, but these errors were encountered: