2017-03-01 16:10:08 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
< meta property = "og:title" content = "March, 2017" / >
< meta property = "og:description" content = "2017-03-01
Run the 279 CIAT author corrections on CGSpace
2017-03-02 18:26:39 +01:00
2017-03-02
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):
$ identify ~/Desktop/alc_contrastes_desafios.jpg
/Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+ 0+ 0 8-bit CMYK 168KB 0.000u 0:00.000
2017-03-01 16:10:08 +01:00
" />
< meta property = "og:type" content = "article" / >
< meta property = "og:url" content = "https://alanorth.github.io/cgspace-notes/2017-03/" / >
< meta property = "article:published_time" content = "2017-03-01T17:08:52+02:00" / >
2017-03-03 00:04:57 +01:00
< meta property = "article:modified_time" content = "2017-03-03T00:57:37+02:00" / >
2017-03-01 16:10:08 +01:00
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:text:title" content = "March, 2017" / >
< meta name = "twitter:title" content = "March, 2017" / >
< meta name = "twitter:description" content = "2017-03-01
Run the 279 CIAT author corrections on CGSpace
2017-03-02 18:26:39 +01:00
2017-03-02
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):
$ identify ~/Desktop/alc_contrastes_desafios.jpg
/Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+ 0+ 0 8-bit CMYK 168KB 0.000u 0:00.000
2017-03-01 16:10:08 +01:00
"/>
< meta name = "generator" content = "Hugo 0.19" / >
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "March, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-03/",
2017-03-02 19:00:18 +01:00
"wordCount": "103",
2017-03-01 16:10:08 +01:00
"datePublished": "2017-03-01T17:08:52+ 02:00",
2017-03-03 00:04:57 +01:00
"dateModified": "2017-03-03T00:57:37+ 02:00",
2017-03-01 16:10:08 +01:00
"author": {
"@type": "Person",
"name": "Alan Orth"
}
,
"keywords": "Notes"
}
< / script >
< link rel = "canonical" href = "https://alanorth.github.io/cgspace-notes/2017-03/" >
< title > March, 2017 | CGSpace Notes< / title >
<!-- combined, minified CSS -->
< link href = "https://alanorth.github.io/cgspace-notes/css/style.css" rel = "stylesheet" integrity = "sha384-Cdt2yG10w21pA8DMpImJIvsLOME686p75OYD9jGCZVWvOol9zkEsaF3ctGEuBXK6" crossorigin = "anonymous" >
< / head >
< body >
< div class = "blog-masthead" >
< div class = "container" >
< nav class = "nav blog-nav" >
< a class = "nav-link " href = "https://alanorth.github.io/cgspace-notes/" > Home< / a >
< / nav >
< / div >
< / div >
< header class = "blog-header" >
< div class = "container" >
< h1 class = "blog-title" > < a href = "https://alanorth.github.io/cgspace-notes/" rel = "home" > CGSpace Notes< / a > < / h1 >
< p class = "lead blog-description" > Documenting day-to-day work on the < a href = "https://cgspace.cgiar.org" > CGSpace< / a > repository.< / p >
< / div >
< / header >
< div class = "container" >
< div class = "row" >
< div class = "col-sm-8 blog-main" >
< article class = "blog-post" >
< header >
< h2 class = "blog-post-title" > < a href = "https://alanorth.github.io/cgspace-notes/2017-03/" > March, 2017< / a > < / h2 >
< p class = "blog-post-meta" > < time datetime = "2017-03-01T17:08:52+02:00" > Wed Mar 01, 2017< / time > by Alan Orth in
< i class = "fa fa-tag" aria-hidden = "true" > < / i > < a href = "/cgspace-notes/tags/notes" rel = "tag" > Notes< / a >
< / p >
< / header >
< h2 id = "2017-03-01" > 2017-03-01< / h2 >
< ul >
< li > Run the 279 CIAT author corrections on CGSpace< / li >
< / ul >
2017-03-02 18:26:39 +01:00
< h2 id = "2017-03-02" > 2017-03-02< / h2 >
< ul >
< 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’ s thumbnails were sRGB, but forcing regeneration using DSpace 5.x’ 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 > ⁄ < sub > 51999< / sub > < / a > ):< / li >
< / ul >
< pre > < code > $ identify ~/Desktop/alc_contrastes_desafios.jpg
/Users/aorth/Desktop/alc_contrastes_desafios.jpg JPEG 464x600 464x600+0+0 8-bit CMYK 168KB 0.000u 0:00.000
< / code > < / pre >
2017-03-02 19:00:18 +01:00
< p > < / p >
2017-03-02 18:26:39 +01:00
< ul >
2017-03-02 19:00:18 +01:00
< li > This results in discolored thumbnails, sRGB and CMYK:< / li >
2017-03-02 18:26:39 +01:00
< / ul >
2017-03-02 19:00:18 +01:00
< p > < img src = "/cgspace-notes/2017/03/thumbnail-srgb.jpg" alt = "Thumbnail in sRGB colorspace" / > < / p >
2017-03-02 23:57:37 +01:00
< p > < img src = "/cgspace-notes/2017/03/thumbnail-cmyk.jpg" alt = "Thumbnial in CMYK colorspace" / > < / p >
2017-03-01 16:10:08 +01:00
< / article >
< / div > <!-- /.blog - main -->
< aside class = "col-sm-3 offset-sm-1 blog-sidebar" >
< section class = "sidebar-module" >
< h4 > Recent Posts< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "/cgspace-notes/2017-03/" > March, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-02/" > February, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-01/" > January, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2016-12/" > December, 2016< / a > < / li >
< li > < a href = "/cgspace-notes/2016-11/" > November, 2016< / a > < / li >
< / ol >
< / section >
< section class = "sidebar-module" >
< h4 > Links< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "https://cgspace.cgiar.org" > CGSpace< / a > < / li >
< li > < a href = "https://dspacetest.cgiar.org" > DSpace Test< / a > < / li >
< li > < a href = "https://github.com/ilri/DSpace" > CGSpace @ GitHub< / a > < / li >
< / ol >
< / section >
< / aside >
< / div > <!-- /.row -->
< / div > <!-- /.container -->
< footer class = "blog-footer" >
< p >
Blog template created by < a href = "https://twitter.com/mdo" > @mdo< / a > , ported to Hugo by < a href = 'https://twitter.com/mralanorth' > @mralanorth< / a > .
< / p >
< p >
< a href = "#" > Back to top< / a >
< / p >
< / footer >
< / body >
< / html >