cgspace-notes/content/post/2017-03.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

2017-03-01 16:10:08 +01:00
+++
date = "2017-03-01T17:08:52+02:00"
author = "Alan Orth"
title = "March, 2017"
tags = ["Notes"]
+++
## 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](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)):
```
$ 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
<!--more-->
2017-03-02 19:00:18 +01:00
- This results in discolored thumbnails, sRGB and CMYK:
![Thumbnail in sRGB colorspace](/cgspace-notes/2017/03/thumbnail-srgb.jpg)
2017-03-02 23:57:37 +01:00
![Thumbnial in CMYK colorspace](/cgspace-notes/2017/03/thumbnail-cmyk.jpg)
2017-03-03 00:32:54 +01:00
- I filed an issue for the color space thing: [DS-3517](https://jira.duraspace.org/browse/DS-3517)