{"id":175046329,"date":"2021-04-22T22:27:16","date_gmt":"2021-04-22T20:27:16","guid":{"rendered":"https:\/\/xmau.com\/wp\/archivi\/?p=175046329"},"modified":"2021-04-22T22:27:16","modified_gmt":"2021-04-22T20:27:16","slug":"howto-ridurre-le-dimensioni-di-un-pdf-con-gs","status":"publish","type":"post","link":"https:\/\/xmau.com\/archivi\/2021\/04\/22\/howto-ridurre-le-dimensioni-di-un-pdf-con-gs\/","title":{"rendered":"[HOWTO] ridurre le dimensioni di un PDF con gs"},"content":{"rendered":"<p>Avete un pdf troppo grande? Non volete usare i servizi online? Se avete installato ghostscript (gs) potete comunque farlo. Il comando necessario \u00e8 <\/p>\n<blockquote><p> $ gs -sDEVICE=pdfwrite -dPDFSETTINGS=\/ebook -q -o output.pdf file.pdf<\/p><\/blockquote>\n<p>dove PDFSETTINGS serve per decidere quanto comprimere:<\/p>\n<p><tt>\/screen selects low-resolution output similar to the Acrobat Distiller \"Screen Optimized\" setting.<br \/>\n\/ebook selects medium-resolution output similar to the Acrobat Distiller \"eBook\" setting.<br \/>\n\/printer selects output similar to the Acrobat Distiller \"Print Optimized\" setting.<br \/>\n\/prepress selects output similar to Acrobat Distiller \"Prepress Optimized\" setting.<br \/>\n\/default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file.<\/tt><\/p>\n<p>Anche <tt>ps2pdf<\/tt> pu\u00f2 funzionare. <\/p>\n<p>(fonte: <a href=\"https:\/\/unix.stackexchange.com\/q\/274428\/64153\">StackExchange<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Avete un pdf troppo grande? Non volete usare i servizi online? Se avete installato ghostscript (gs) potete comunque farlo. Il [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"[HOWTO] ridurre le dimensioni di un PDF con gs","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[41],"class_list":["post-175046329","post","type-post","status-publish","format-standard","hentry","category-archivi","tag-howto"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/phh2yH-bQtxT","_links":{"self":[{"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/posts\/175046329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/comments?post=175046329"}],"version-history":[{"count":2,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/posts\/175046329\/revisions"}],"predecessor-version":[{"id":175046331,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/posts\/175046329\/revisions\/175046331"}],"wp:attachment":[{"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/media?parent=175046329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/categories?post=175046329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xmau.com\/archivi\/wp-json\/wp\/v2\/tags?post=175046329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}