Skip to content

Instantly share code, notes, and snippets.

View njdoyle's full-sized avatar

Nick Doyle njdoyle

View GitHub Profile
@njdoyle
njdoyle / ImageMagickJxrDelegate.patch
Last active December 20, 2015 00:19
ImageMagick patch to help improve (but not universally fix) issues with JPEG XR delegates.
diff -rupN ImageMagick-6.8.6-3.old/config/delegates.xml.in ImageMagick-6.8.6-3/config/delegates.xml.in
--- ImageMagick-6.8.6-3.old/config/delegates.xml.in 2013-07-03 14:41:46.804859241 -0400
+++ ImageMagick-6.8.6-3/config/delegates.xml.in 2013-07-03 14:45:29.632862183 -0400
@@ -86,8 +86,8 @@
<delegate decode="html" command="&quot;@HTMLDecodeDelegate@&quot; -U -o &quot;%o&quot; &quot;%i&quot;"/>
<delegate decode="https" command="&quot;@WWWDecodeDelegate@&quot; -s -k -o &quot;%o&quot; &quot;https:%M&quot;"/>
<delegate decode="ilbm" command="&quot;@ILBMDecodeDelegate@&quot; &quot;%i&quot; &gt; &quot;%o&quot;"/>
- <delegate decode="jxr" command="mv &quot;%i&quot; &quot;%i.jxr&quot;; &quot;@JXRDecodeDelegate@&quot; -i &quot;%i.jxr&quot; -o &quot;%o.pnm&quot;; mv &quot;%i.jxr&quot; &quot;%i&quot;; mv &quot;%o.pnm&quot; &quot;%o&quot;"/>
- <delegate decode="wdp" command="mv &quot;%i&quot; &quot;%i.jxr&quot;; &quot;@JXRDecodeDelegate@&quot; -i &quot;%i.jxr&quot; -o &quot;%o.pnm&quot;; mv &quot;%i.jxr&quot;