From 032d72cd0507c1fd9ef7b266b778f38b6f39d4ae Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 4 Mar 2017 01:15:47 +0200 Subject: [PATCH] Update notes for 2017-03-03 --- content/post/2017-03.md | 13 +++++++++++-- public/2017-03/index.html | 31 ++++++++++++++++++++++++++----- public/index.html | 6 ++++++ public/index.xml | 13 +++++++++++-- public/post/index.html | 6 ++++++ public/post/index.xml | 13 +++++++++++-- public/sitemap.xml | 8 ++++---- public/tags/notes/index.html | 6 ++++++ public/tags/notes/index.xml | 13 +++++++++++-- 9 files changed, 92 insertions(+), 17 deletions(-) diff --git a/content/post/2017-03.md b/content/post/2017-03.md index 76281cec8..1158b3ba9 100644 --- a/content/post/2017-03.md +++ b/content/post/2017-03.md @@ -11,6 +11,12 @@ tags = ["Notes"] ## 2017-03-02 +- Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace +- CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles +- They might come in at the top level in one "CGIAR System" community, or with several communities +- I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one? +- Need to send Peter and Michael some notes about this in a few days +- Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI - Filed an issue on DSpace issue tracker for the `filter-media` bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: [DS-3516](https://jira.duraspace.org/browse/DS-3516) - Discovered that the ImageMagic `filter-media` plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK - Interestingly, it seems DSpace 4.x's thumbnails were sRGB, but forcing regeneration using DSpace 5.x's ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see [10568/51999](https://cgspace.cgiar.org/handle/10568/51999)): @@ -36,11 +42,14 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - Looks like `-colorspace sRGB` alone isn't enough, we need to use profiles: ``` -$ convert -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf\[0\] alc_contrastes_desafios.pdf.jpg +$ convert alc_contrastes_desafios.pdf\[0\] -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf.jpg ``` +- This reads the input file, applies the CMYK profile, applies the RGB profile, then writes the file +- Note that you should set the first profile immediately after the input file +- Also, it is better to use profiles than setting `-colorspace` - This is a great resource describing the color stuff: http://www.imagemagick.org/Usage/formats/#profiles -- Somehow we need to detect the color system being used by the input file and handle each case differently +- Somehow we need to detect the color system being used by the input file and handle each case differently (with profiles) - This is trivial with `identify` (even by the [Java ImageMagick API](http://im4java.sourceforge.net/api/org/im4java/core/IMOps.html#identify)): ``` diff --git a/public/2017-03/index.html b/public/2017-03/index.html index 9b802514a..a1e30c710 100644 --- a/public/2017-03/index.html +++ b/public/2017-03/index.html @@ -15,6 +15,12 @@ Run the 279 CIAT author corrections on CGSpace 2017-03-02 +Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace +CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles +They might come in at the top level in one “CGIAR System” community, or with several communities +I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one? +Need to send Peter and Michael some notes about this in a few days +Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI Filed an issue on DSpace issue tracker for the filter-media bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: DS-3516 Discovered that the ImageMagic filter-media plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see 10568⁄51999): @@ -31,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg - + @@ -60,6 +66,12 @@ Run the 279 CIAT author corrections on CGSpace 2017-03-02 +Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace +CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles +They might come in at the top level in one “CGIAR System” community, or with several communities +I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one? +Need to send Peter and Michael some notes about this in a few days +Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI Filed an issue on DSpace issue tracker for the filter-media bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: DS-3516 Discovered that the ImageMagic filter-media plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see 10568⁄51999): @@ -82,13 +94,13 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg "headline": "March, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-03/", - "wordCount": "218", + "wordCount": "368", "datePublished": "2017-03-01T17:08:52+02:00", - "dateModified": "2017-03-03T01:32:54+02:00", + "dateModified": "2017-03-03T18:40:38+02:00", "author": { @@ -166,6 +178,12 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg

2017-03-02

-
$ convert -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf\[0\] alc_contrastes_desafios.pdf.jpg
+
$ convert alc_contrastes_desafios.pdf\[0\] -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf.jpg
 
    +
  • This reads the input file, applies the CMYK profile, applies the RGB profile, then writes the file
  • +
  • Note that you should set the first profile immediately after the input file
  • +
  • Also, it is better to use profiles than setting -colorspace
  • This is a great resource describing the color stuff: http://www.imagemagick.org/Usage/formats/#profiles
  • -
  • Somehow we need to detect the color system being used by the input file and handle each case differently
  • +
  • Somehow we need to detect the color system being used by the input file and handle each case differently (with profiles)
  • This is trivial with identify (even by the Java ImageMagick API):
diff --git a/public/index.html b/public/index.html index 56b844ce7..ab529a84a 100644 --- a/public/index.html +++ b/public/index.html @@ -121,6 +121,12 @@

2017-03-02

    +
  • Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace
  • +
  • CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles
  • +
  • They might come in at the top level in one “CGIAR System” community, or with several communities
  • +
  • I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?
  • +
  • Need to send Peter and Michael some notes about this in a few days
  • +
  • Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI
  • Filed an issue on DSpace issue tracker for the filter-media bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: DS-3516
  • Discovered that the ImageMagic filter-media plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK
  • Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see 1056851999):
  • diff --git a/public/index.xml b/public/index.xml index 7c1c70ad2..f091e9228 100644 --- a/public/index.xml +++ b/public/index.xml @@ -24,6 +24,12 @@ <h2 id="2017-03-02">2017-03-02</h2> <ul> +<li>Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace</li> +<li>CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles</li> +<li>They might come in at the top level in one &ldquo;CGIAR System&rdquo; community, or with several communities</li> +<li>I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?</li> +<li>Need to send Peter and Michael some notes about this in a few days</li> +<li>Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI</li> <li>Filed an issue on DSpace issue tracker for the <code>filter-media</code> bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: <a href="https://jira.duraspace.org/browse/DS-3516">DS-3516</a></li> <li>Discovered that the ImageMagic <code>filter-media</code> plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK</li> <li>Interestingly, it seems DSpace 4.x&rsquo;s thumbnails were sRGB, but forcing regeneration using DSpace 5.x&rsquo;s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see <a href="https://cgspace.cgiar.org/handle/10568/51999"><sup>10568</sup>&frasl;<sub>51999</sub></a>):</li> @@ -54,12 +60,15 @@ <li>Looks like <code>-colorspace sRGB</code> alone isn&rsquo;t enough, we need to use profiles:</li> </ul> -<pre><code>$ convert -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf\[0\] alc_contrastes_desafios.pdf.jpg +<pre><code>$ convert alc_contrastes_desafios.pdf\[0\] -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf.jpg </code></pre> <ul> +<li>This reads the input file, applies the CMYK profile, applies the RGB profile, then writes the file</li> +<li>Note that you should set the first profile immediately after the input file</li> +<li>Also, it is better to use profiles than setting <code>-colorspace</code></li> <li>This is a great resource describing the color stuff: <a href="http://www.imagemagick.org/Usage/formats/#profiles">http://www.imagemagick.org/Usage/formats/#profiles</a></li> -<li>Somehow we need to detect the color system being used by the input file and handle each case differently</li> +<li>Somehow we need to detect the color system being used by the input file and handle each case differently (with profiles)</li> <li>This is trivial with <code>identify</code> (even by the <a href="http://im4java.sourceforge.net/api/org/im4java/core/IMOps.html#identify">Java ImageMagick API</a>):</li> </ul> diff --git a/public/post/index.html b/public/post/index.html index e6cb85ef5..6f5c3050e 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -121,6 +121,12 @@

    2017-03-02

      +
    • Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace
    • +
    • CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles
    • +
    • They might come in at the top level in one “CGIAR System” community, or with several communities
    • +
    • I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?
    • +
    • Need to send Peter and Michael some notes about this in a few days
    • +
    • Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI
    • Filed an issue on DSpace issue tracker for the filter-media bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: DS-3516
    • Discovered that the ImageMagic filter-media plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK
    • Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see 1056851999):
    • diff --git a/public/post/index.xml b/public/post/index.xml index 5180346d2..1342969c2 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -24,6 +24,12 @@ <h2 id="2017-03-02">2017-03-02</h2> <ul> +<li>Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace</li> +<li>CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles</li> +<li>They might come in at the top level in one &ldquo;CGIAR System&rdquo; community, or with several communities</li> +<li>I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?</li> +<li>Need to send Peter and Michael some notes about this in a few days</li> +<li>Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI</li> <li>Filed an issue on DSpace issue tracker for the <code>filter-media</code> bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: <a href="https://jira.duraspace.org/browse/DS-3516">DS-3516</a></li> <li>Discovered that the ImageMagic <code>filter-media</code> plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK</li> <li>Interestingly, it seems DSpace 4.x&rsquo;s thumbnails were sRGB, but forcing regeneration using DSpace 5.x&rsquo;s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see <a href="https://cgspace.cgiar.org/handle/10568/51999"><sup>10568</sup>&frasl;<sub>51999</sub></a>):</li> @@ -54,12 +60,15 @@ <li>Looks like <code>-colorspace sRGB</code> alone isn&rsquo;t enough, we need to use profiles:</li> </ul> -<pre><code>$ convert -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf\[0\] alc_contrastes_desafios.pdf.jpg +<pre><code>$ convert alc_contrastes_desafios.pdf\[0\] -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf.jpg </code></pre> <ul> +<li>This reads the input file, applies the CMYK profile, applies the RGB profile, then writes the file</li> +<li>Note that you should set the first profile immediately after the input file</li> +<li>Also, it is better to use profiles than setting <code>-colorspace</code></li> <li>This is a great resource describing the color stuff: <a href="http://www.imagemagick.org/Usage/formats/#profiles">http://www.imagemagick.org/Usage/formats/#profiles</a></li> -<li>Somehow we need to detect the color system being used by the input file and handle each case differently</li> +<li>Somehow we need to detect the color system being used by the input file and handle each case differently (with profiles)</li> <li>This is trivial with <code>identify</code> (even by the <a href="http://im4java.sourceforge.net/api/org/im4java/core/IMOps.html#identify">Java ImageMagick API</a>):</li> </ul> diff --git a/public/sitemap.xml b/public/sitemap.xml index 8c21834e8..6a5267245 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,7 +3,7 @@ https://alanorth.github.io/cgspace-notes/2017-03/ - 2017-03-03T01:32:54+02:00 + 2017-03-03T18:40:38+02:00 @@ -88,19 +88,19 @@ https://alanorth.github.io/cgspace-notes/ - 2017-03-03T01:32:54+02:00 + 2017-03-03T18:40:38+02:00 0 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-03-03T01:32:54+02:00 + 2017-03-03T18:40:38+02:00 0 https://alanorth.github.io/cgspace-notes/post/ - 2017-03-03T01:32:54+02:00 + 2017-03-03T18:40:38+02:00 0 diff --git a/public/tags/notes/index.html b/public/tags/notes/index.html index d9f5e960d..83cf8e9d3 100644 --- a/public/tags/notes/index.html +++ b/public/tags/notes/index.html @@ -121,6 +121,12 @@

      2017-03-02

        +
      • Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace
      • +
      • CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles
      • +
      • They might come in at the top level in one “CGIAR System” community, or with several communities
      • +
      • I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?
      • +
      • Need to send Peter and Michael some notes about this in a few days
      • +
      • Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI
      • Filed an issue on DSpace issue tracker for the filter-media bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: DS-3516
      • Discovered that the ImageMagic filter-media plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK
      • Interestingly, it seems DSpace 4.x’s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see 1056851999):
      • diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 44187a32e..fb5d13359 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -23,6 +23,12 @@ <h2 id="2017-03-02">2017-03-02</h2> <ul> +<li>Skype with Michael and Peter, discussing moving the CGIAR Library to CGSpace</li> +<li>CGIAR people possibly open to moving content, redirecting library.cgiar.org to CGSpace and letting CGSpace resolve their handles</li> +<li>They might come in at the top level in one &ldquo;CGIAR System&rdquo; community, or with several communities</li> +<li>I need to spend a bit of time looking at the multiple handle support in DSpace and see if new content can be minted in both handles, or just one?</li> +<li>Need to send Peter and Michael some notes about this in a few days</li> +<li>Also, need to consider talking to Atmire about hiring them to bring ORCiD metadata to REST / OAI</li> <li>Filed an issue on DSpace issue tracker for the <code>filter-media</code> bug that causes it to process JPGs even when limiting to the PDF thumbnail plugin: <a href="https://jira.duraspace.org/browse/DS-3516">DS-3516</a></li> <li>Discovered that the ImageMagic <code>filter-media</code> plugin creates JPG thumbnails with the CMYK colorspace when the source PDF is using CMYK</li> <li>Interestingly, it seems DSpace 4.x&rsquo;s thumbnails were sRGB, but forcing regeneration using DSpace 5.x&rsquo;s ImageMagick plugin creates CMYK JPGs if the source PDF was CMYK (see <a href="https://cgspace.cgiar.org/handle/10568/51999"><sup>10568</sup>&frasl;<sub>51999</sub></a>):</li> @@ -53,12 +59,15 @@ <li>Looks like <code>-colorspace sRGB</code> alone isn&rsquo;t enough, we need to use profiles:</li> </ul> -<pre><code>$ convert -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf\[0\] alc_contrastes_desafios.pdf.jpg +<pre><code>$ convert alc_contrastes_desafios.pdf\[0\] -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_cmyk.icc -thumbnail 300x300 -flatten -profile /opt/brew/Cellar/ghostscript/9.20/share/ghostscript/9.20/iccprofiles/default_rgb.icc alc_contrastes_desafios.pdf.jpg </code></pre> <ul> +<li>This reads the input file, applies the CMYK profile, applies the RGB profile, then writes the file</li> +<li>Note that you should set the first profile immediately after the input file</li> +<li>Also, it is better to use profiles than setting <code>-colorspace</code></li> <li>This is a great resource describing the color stuff: <a href="http://www.imagemagick.org/Usage/formats/#profiles">http://www.imagemagick.org/Usage/formats/#profiles</a></li> -<li>Somehow we need to detect the color system being used by the input file and handle each case differently</li> +<li>Somehow we need to detect the color system being used by the input file and handle each case differently (with profiles)</li> <li>This is trivial with <code>identify</code> (even by the <a href="http://im4java.sourceforge.net/api/org/im4java/core/IMOps.html#identify">Java ImageMagick API</a>):</li> </ul>