JakubMelka / PDF4QT

Open source PDF editor.
https://jakubmelka.github.io/
GNU Lesser General Public License v3.0
719 stars 74 forks source link

Option to ignore PDF security settings #183

Closed cweiske closed 4 months ago

cweiske commented 5 months ago

I have a 6 page PDF file; 2 pages with a form to fill out and 4 explanation pages. To reduce file size I want to remove the explanation pages and only keep the pages with the form.

When using PDF4QT PageMaster 1.3.7 (AppImage) to open the PDF file, I get an error message:

Document security doesn't permit to organize pages.

Please add an option to ignore this PDF "security" settings.

My workaround is to fill the PDF form, and then print to a new pdf that does not have the "security" flags so I can remove the pages.

sssnarl commented 5 months ago

You can also feed these pdf's through ghostscript to create a new unprotected PDF also if you want to preserve the forms and still remove the extra pages.

I have done this with a host of forms over the years.

But I agree an advanced "skip the security" option would be good here.

Sent from my Verizon, Samsung Galaxy smartphone Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Christian Weiske @.> Sent: Monday, June 3, 2024 2:04:53 PM To: JakubMelka/PDF4QT @.> Cc: Subscribed @.***> Subject: [JakubMelka/PDF4QT] Option to ignore PDF security settings (Issue #183)

I have a 6 page PDF file; 2 pages with a form to fill out and 4 explanation pages. To reduce file size I want to remove the explanation pages and only keep the pages with the form.

When using PDF4QT PageMaster 1.3.7 (AppImage) to open the PDF file, I get an error message:

Document security doesn't permit to organize pages.

Please add an option to ignore this PDF "security" settings.

My workaround is to fill the PDF form, and then print to a new pdf that does not have the "security" flags so I can remove the pages.

— Reply to this email directly, view it on GitHubhttps://github.com/JakubMelka/PDF4QT/issues/183, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABFT2NKH4FXCENR7PQ6RVGLZFS45LAVCNFSM6AAAAABIXCQCGKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTCOBUGQ4DKNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

JakubMelka commented 4 months ago

@cweiske, I have added new command-line option --no-drm to disable DRM.

cweiske commented 4 months ago

Thank you!