PDF OPTIMIZER

A Sample JSON Profile

{
         "images": {
                 "color": {
                          "downsample": {
                                   "trigger-dpi": 225,
                                   "target-dpi": 150
                          },
                          "recompress": {
                                   "type": "jpeg",
                                   "quality": "medium"
                          }
                 },
                 "grayscale": {
                          "downsample": {
                                   "trigger-dpi": 225,
                                   "target-dpi": 150
                          },
                          "recompress": {
                                   "type": "jpeg",
                                   "quality": "medium"
                          }
                 },
                 "monochrome": {
                          "downsample": {
                                   "trigger-dpi": 450,
                                   "target-dpi": 300
                          },
                          "recompress": {
                                   "type": "jbig2",
                                   "quality": "lossy"
                          }
                 },
                 "optimize-images-only-if-reduction-in-size": "on",
                 "consolidate-duplicate-image-and-forms": "on"
         },
         "transparency": {
                 "quality": "medium-quality"
    },
         "fonts": {
                 "subset-embedded-fonts": "on",
                 "consolidate-duplicate-fonts": "on"
                 "unembed-standard-14-fonts": "on"
         },
         "objects": {
                 "discard-javascript-actions": "on",
                 "discard-alternate-images": "on",
                 "discard-thumbnails": "on",
                 "discard-document-tags": "on",
                 "discard-bookmarks": "off"
         },
         "userdata": {
                 "discard-comments-forms-multimedia": "on",
                 "discard-document-information-and-metadata": "on",
                 "discard-file-attachments": "on",
                 "discard-external-crossreferences": "on",
                 "discard-private-data": "on",
                 "discard-hidden-later-content": "on"
         },
         "cleanup": {
                 "compression": "compress-entire-file",
                 "flate-encode-uncompressed-streams": "on",
                 "convert-lzw-to-flate": "on",
                 "optimize-page-content": "on",
                 "optimize-for-fast-web-view": "on"
        }
	"general": {
		"write-output-even-if-increase-in-size": "off",
	},
	"color-conversion": {
		"enabled": "off",
		"convert-profile": "srgb",
		"color-convert-action": "convert",
		"convert-intent": "profile-intent"
	},
	"pdfa-1b-conversion": {
		"enabled": "off",
		"pdfa-1b-target-color-space": "rgb",
		"rasterize-if-errors-encountered": "off"
	},
}