<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>PDF &#8211; Wade Tregaskis</title>
	<atom:link href="https://wadetregaskis.com/tags/pdf/feed/" rel="self" type="application/rss+xml" />
	<link>https://wadetregaskis.com</link>
	<description></description>
	<lastBuildDate>Sun, 18 Jan 2026 18:50:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wadetregaskis.com/wp-content/uploads/2016/03/Stitch-512x512-1-256x256.png</url>
	<title>PDF &#8211; Wade Tregaskis</title>
	<link>https://wadetregaskis.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">226351702</site>	<item>
		<title>Extracting embedded images from a PDF</title>
		<link>https://wadetregaskis.com/extracting-embedded-images-from-a-pdf/</link>
					<comments>https://wadetregaskis.com/extracting-embedded-images-from-a-pdf/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sun, 18 Jan 2026 18:50:33 +0000</pubDate>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Acrobat Reader]]></category>
		<category><![CDATA[Apple Preview]]></category>
		<category><![CDATA[AVIF]]></category>
		<category><![CDATA[File Juicer]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[pdfimages]]></category>
		<category><![CDATA[pdftoppm]]></category>
		<category><![CDATA[Poppler]]></category>
		<category><![CDATA[PPM]]></category>
		<category><![CDATA[Sad]]></category>
		<category><![CDATA[StuffIt]]></category>
		<category><![CDATA[The Unarchiver]]></category>
		<category><![CDATA[Zip]]></category>
		<guid isPermaLink="false">https://wadetregaskis.com/?p=8651</guid>

					<description><![CDATA[Surprisingly, the best way (that I&#8217;ve found) to do this is to use The Unarchiver, a free app from MacPaw (the folks behind SetApp and many other things). It seems to faithfully extract the images as-is, including ICC profiles (which might technically be separate from the image within the PDF, but nonetheless are crucial to&#8230; <a class="read-more-link" href="https://wadetregaskis.com/extracting-embedded-images-from-a-pdf/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>Surprisingly, the best way (that I&#8217;ve found) to do this is to use <a href="https://theunarchiver.com" data-wpel-link="external" target="_blank" rel="external noopener">The Unarchiver</a>, a free app from <a href="https://macpaw.com" data-wpel-link="external" target="_blank" rel="external noopener">MacPaw</a> (the folks behind <a href="https://setapp.com" data-wpel-link="external" target="_blank" rel="external noopener">SetApp</a> and many other things).  It seems to faithfully extract the images <em>as-is</em>, including ICC profiles (which might technically be separate from the image within the PDF, but nonetheless are crucial to the image being extracted correctly).</p>



<p>The primary reason to extract the images <em>exactly</em> as is, bit-for-bit-identical, is that they&#8217;re typically already lossy-compressed (usually JPEG).  Recompressing them will introduce further losses or increase the file size<sup data-fn="548bb9e0-6fb6-4e03-a88c-0726bfb453fa" class="fn"><a href="#548bb9e0-6fb6-4e03-a88c-0726bfb453fa" id="548bb9e0-6fb6-4e03-a88c-0726bfb453fa-link">1</a></sup>, or both.</p>



<p>Kudos to <a href="https://apple.stackexchange.com/users/97368/josef-habr" data-wpel-link="external" target="_blank" rel="external noopener">Josef Habr</a> for <a href="https://apple.stackexchange.com/a/477392/273188" data-wpel-link="external" target="_blank" rel="external noopener">suggesting The Unarchiver on StackExchange</a> &#8211; I would never have found it on my own, even though I already had it installed and use it occasionally (for more traditional archive file formats, like Zip or StuffIt).</p>



<p>Frustratingly, Josef&#8217;s post aside, none of the recommendations you read online mention The Unarchiver, pointing instead to other options which are harder to install, harder to use, and don&#8217;t extract the images correctly.  Worst of all, many people falsely claim that their suggested approach will extract the images losslessly.  Examples include:</p>



<ul class="wp-block-list">
<li>pdfimages from <a href="https://poppler.freedesktop.org" data-wpel-link="external" target="_blank" rel="external noopener">Poppler</a> &#8211; silently re-encodes images in some cases (contrary to what its documentation and users claim), such as if they have non-sRGB colour profiles, <em>and</em> fails to preserve the embedded ICC profile.  Worse, <a href="https://gitlab.freedesktop.org/poppler/poppler/-/issues/526" data-wpel-link="external" target="_blank" rel="external noopener">the developers have known about this for nearly a decade and refuse to fix it</a>.</li>



<li>pdftoppm (et al) &#8211; explicitly convert the embedded images into another format, which while usually a lossless format (e.g. PNG or PPM) by default, still requires you to then re-encode them for use online etc.  Plus, they typically don&#8217;t preserve ICC profiles.</li>



<li><a href="https://imagemagick.org" data-wpel-link="external" target="_blank" rel="external noopener">ImageMagick</a> &#8211; doesn&#8217;t extract the images, merely renders the whole PDF page(s) as images, requiring further post-processing <em>and</em> inevitably reducing the image quality (due to mismatched output resolution and pixel alignment vs the embedded images&#8217;).</li>



<li>Exporting pages as images from Preview or Acrobat Reader &#8211; obviously doesn&#8217;t preserve the extracted images as-is, requires re-encoding them with additional compression losses, etc.</li>



<li>Screenshots via Preview or Acrobat Reader &#8211; ugh, I can&#8217;t even.</li>



<li>Various websites &#8211; I mean, they <em>might</em> work, but why upload your personal data to some skeezy website when it&#8217;s easy and fast to just use The Unarchiver locally?</li>
</ul>



<p>I saw a recommendation for <a href="https://echoone.com/filejuicer/" data-wpel-link="external" target="_blank" rel="external noopener">File Juicer</a>, but unfortunately the free trial doesn&#8217;t work for me &#8211; it claims it&#8217;s already expired &#8211; so I was unable to check that it actually works.  Plus, it&#8217;s not free (USD$19 at time of writing) so that&#8217;s a strong disincentive compared to The Unarchiver.</p>


<ol class="wp-block-footnotes"><li id="548bb9e0-6fb6-4e03-a88c-0726bfb453fa">It <em>is</em> possible, with some newer formats like AVIF, to recompress a JPEG in a way that arguably <em>improves</em> the image quality while also reducing the file size.  AVIF encoders typically have some built-in smarts to recognise JPEG artefacts specifically, and try to remove them &#8211; a direct benefit visually since the artefacts are ugly and a benefit to [re]compression since the encoder then doesn&#8217;t need to waste time &amp; output bits trying to preserve the artefacts.<br><br>But, utilising this feature can require more care during compression to find the right trade-offs and ensure the result <em>is</em> in fact as good or better than the original &#8211; and in any case, AVIF recompression will work better from the original JPEG than a mangled version. <a href="#548bb9e0-6fb6-4e03-a88c-0726bfb453fa-link" aria-label="Jump to footnote reference 1">↩︎</a></li></ol>]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/extracting-embedded-images-from-a-pdf/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8651</post-id>	</item>
		<item>
		<title>Mail &#038; Preview working together</title>
		<link>https://wadetregaskis.com/mail-preview-working-together/</link>
					<comments>https://wadetregaskis.com/mail-preview-working-together/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Fri, 09 Feb 2024 23:06:27 +0000</pubDate>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Apple Mail]]></category>
		<category><![CDATA[Apple Preview]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[Happy]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[PDF]]></category>
		<guid isPermaLink="false">https://wadetregaskis.com/?p=7685</guid>

					<description><![CDATA[It&#8217;s the little things that sometimes impress me the most. Like when this dialog appeared: …after I&#8217;d filled out a form PDF that was emailed to me. It had exactly the option I wanted first and foremost, to send the completed PDF back to the sender. Sure, manually digging up the completed PDF from disk&#8230; <a class="read-more-link" href="https://wadetregaskis.com/mail-preview-working-together/" data-wpel-link="internal">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>It&#8217;s the little things that sometimes impress me the most.  Like when this dialog appeared:</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="372" height="450" src="https://wadetregaskis.com/wp-content/uploads/2024/02/Save-Changes-dialog-for-PDF-form-related-to-an-email-message.webp" alt="Screenshot of a macOS dialog saying: &quot;Do you want to save the changes made to the document &quot;Waste Disposal Forms requiring signatures copy&quot;, with the buttons: &quot;Reply to lora…&quot;, &quot;New Mail Message&quot;, &quot;Save&quot;, and &quot;Cancel&quot;." class="wp-image-7686" srcset="https://wadetregaskis.com/wp-content/uploads/2024/02/Save-Changes-dialog-for-PDF-form-related-to-an-email-message.webp 372w, https://wadetregaskis.com/wp-content/uploads/2024/02/Save-Changes-dialog-for-PDF-form-related-to-an-email-message-212x256.webp 212w, https://wadetregaskis.com/wp-content/uploads/2024/02/Save-Changes-dialog-for-PDF-form-related-to-an-email-message@2x.webp 744w" sizes="(max-width: 372px) 100vw, 372px" /></figure>
</div>


<p>…after I&#8217;d filled out a form PDF that was emailed to me.  It had exactly the option I wanted first and foremost, to send the completed PDF back to the sender.</p>



<p>Sure, manually digging up the completed PDF from disk and dragging it into a Mail Compose [Reply] window isn&#8217;t <em>hard</em>, but it just feels so <em>thoughtful</em> when the system saves me the effort.  Knowing that someone, somewhere, actually thought through how Mail &amp; Preview might be used, and thought enough of their users to go to the trouble of implementing this.</p>



<p>Kudos to whomever was behind this sweet little feature.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wadetregaskis.com/mail-preview-working-together/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			<media:content url="https://wadetregaskis.com/wp-content/uploads/2024/02/Save-Changes-dialog-for-PDF-form-related-to-an-email-message.webp" medium="image" />
<post-id xmlns="com-wordpress:feed-additions:1">7685</post-id>	</item>
	</channel>
</rss>
