From 0042349f62e836c53a0337901769fcecad87ec3c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 21 Feb 2017 12:29:14 +0200 Subject: [PATCH] Add notes for 2017-02-21 --- content/post/2017-02.md | 23 +++++++++++++++++++++++ public/2017-02/index.html | 29 ++++++++++++++++++++++++++++- public/index.xml | 27 +++++++++++++++++++++++++++ public/post/index.xml | 27 +++++++++++++++++++++++++++ public/tags/notes/index.xml | 27 +++++++++++++++++++++++++++ 5 files changed, 132 insertions(+), 1 deletion(-) diff --git a/content/post/2017-02.md b/content/post/2017-02.md index 387a838e9..392cb3d74 100644 --- a/content/post/2017-02.md +++ b/content/post/2017-02.md @@ -188,3 +188,26 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum' ``` - So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really *was* a temporary problem, perhaps due to macOS or the Python build I was using. + +## 2017-02-21 + +- Testing regenerating PDF thumbnails, like I started in 2016-11 +- It seems there is a bug in `filter-media` that causes it to process formats that aren't part of its configuration: + +``` +$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p "ImageMagick PDF Thumbnail" +File: earlywinproposal_esa_postharvest.pdf.jpg +FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg' +File: postHarvest.jpg.jpg +FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg' +``` + +- According to `dspace.cfg` the ImageMagick PDF Thumbnail plugin should only process PDFs: + +``` +filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 +filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF +``` + +- I've sent a message to the mailing list and might file a Jira issue +- Ask Atmire about the failed interpolation of the `dspace.internalUrl` variable in `atmire-cua.cfg` diff --git a/public/2017-02/index.html b/public/2017-02/index.html index a2931514a..7aa5a1ac2 100644 --- a/public/2017-02/index.html +++ b/public/2017-02/index.html @@ -92,7 +92,7 @@ Looks like we’ll be using cg.identifier.ccafsprojectpii as the field name "headline": "February, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-02/", - "wordCount": "1347", + "wordCount": "1459", "datePublished": "2017-02-07T07:04:52-08:00", @@ -387,6 +387,33 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum'
  • So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really was a temporary problem, perhaps due to macOS or the Python build I was using.
  • +

    2017-02-21

    + + + +
    $ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p "ImageMagick PDF Thumbnail"
    +File: earlywinproposal_esa_postharvest.pdf.jpg
    +FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg'
    +File: postHarvest.jpg.jpg
    +FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg'
    +
    + + + +
    filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
    +filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
    +
    + + + diff --git a/public/index.xml b/public/index.xml index e57659596..a113faddf 100644 --- a/public/index.xml +++ b/public/index.xml @@ -233,6 +233,33 @@ b'Entwicklung &amp; L\xc3\xa4ndlicher Raum' <ul> <li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li> +</ul> + +<h2 id="2017-02-21">2017-02-21</h2> + +<ul> +<li>Testing regenerating PDF thumbnails, like I started in 2016-11</li> +<li>It seems there is a bug in <code>filter-media</code> that causes it to process formats that aren&rsquo;t part of its configuration:</li> +</ul> + +<pre><code>$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &quot;ImageMagick PDF Thumbnail&quot; +File: earlywinproposal_esa_postharvest.pdf.jpg +FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg' +File: postHarvest.jpg.jpg +FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg' +</code></pre> + +<ul> +<li>According to <code>dspace.cfg</code> the ImageMagick PDF Thumbnail plugin should only process PDFs:</li> +</ul> + +<pre><code>filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 +filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF +</code></pre> + +<ul> +<li>I&rsquo;ve sent a message to the mailing list and might file a Jira issue</li> +<li>Ask Atmire about the failed interpolation of the <code>dspace.internalUrl</code> variable in <code>atmire-cua.cfg</code></li> </ul> diff --git a/public/post/index.xml b/public/post/index.xml index 0099aedf8..0e7bde25e 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -233,6 +233,33 @@ b'Entwicklung &amp; L\xc3\xa4ndlicher Raum' <ul> <li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li> +</ul> + +<h2 id="2017-02-21">2017-02-21</h2> + +<ul> +<li>Testing regenerating PDF thumbnails, like I started in 2016-11</li> +<li>It seems there is a bug in <code>filter-media</code> that causes it to process formats that aren&rsquo;t part of its configuration:</li> +</ul> + +<pre><code>$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &quot;ImageMagick PDF Thumbnail&quot; +File: earlywinproposal_esa_postharvest.pdf.jpg +FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg' +File: postHarvest.jpg.jpg +FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg' +</code></pre> + +<ul> +<li>According to <code>dspace.cfg</code> the ImageMagick PDF Thumbnail plugin should only process PDFs:</li> +</ul> + +<pre><code>filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 +filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF +</code></pre> + +<ul> +<li>I&rsquo;ve sent a message to the mailing list and might file a Jira issue</li> +<li>Ask Atmire about the failed interpolation of the <code>dspace.internalUrl</code> variable in <code>atmire-cua.cfg</code></li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 3139de2f2..dd59b3fe0 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -232,6 +232,33 @@ b'Entwicklung &amp; L\xc3\xa4ndlicher Raum' <ul> <li>So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really <em>was</em> a temporary problem, perhaps due to macOS or the Python build I was using.</li> +</ul> + +<h2 id="2017-02-21">2017-02-21</h2> + +<ul> +<li>Testing regenerating PDF thumbnails, like I started in 2016-11</li> +<li>It seems there is a bug in <code>filter-media</code> that causes it to process formats that aren&rsquo;t part of its configuration:</li> +</ul> + +<pre><code>$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p &quot;ImageMagick PDF Thumbnail&quot; +File: earlywinproposal_esa_postharvest.pdf.jpg +FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg' +File: postHarvest.jpg.jpg +FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg' +</code></pre> + +<ul> +<li>According to <code>dspace.cfg</code> the ImageMagick PDF Thumbnail plugin should only process PDFs:</li> +</ul> + +<pre><code>filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000 +filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF +</code></pre> + +<ul> +<li>I&rsquo;ve sent a message to the mailing list and might file a Jira issue</li> +<li>Ask Atmire about the failed interpolation of the <code>dspace.internalUrl</code> variable in <code>atmire-cua.cfg</code></li> </ul>