Table of Contents

ImageMagick

The tool is useful to extract circuit diagrams from PDF documents.

First PDF permissions must be added to the policy file.

Edit /etc/ImageMagick-6/policy.xml and add the following

<policy domain="coder" rights="read | write" pattern="PDF" />

Next, each page of a PDF can be converted to JPEG where it can be further cropped or reduced in quality.

convert -density 600 INPUT.pdf -quality 100 OUTPUT.jpg