Add notes for 2016-03-18

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2016-03-18 16:20:24 +02:00
parent c0533338ae
commit ff96d18e3c
8 changed files with 105 additions and 0 deletions

View File

@ -97,3 +97,24 @@ Exception in thread "Lucene Merge Thread #19" org.apache.lucene.index.MergePolic
- I fixed the eleven items with `hi` as well as some using the incorrect `vn` for Vietnamese
- Start discussing CG core with Abenet and Sisay
- Re-sync CGSpace database to DSpace Test for Atmire to do some tests about the problematic CUA patches
- The patches work fine with a clean database, so the error was caused by some mismatch in CUA versions and the database during my testing
## 2016-03-18
- Merge Atmire fixes into `5_x-prod`
- Discuss thumbnails with Francesca from Bioversity
- Some of their items end up with thumbnails that have a big white border around them:
![Excessive whitespace in thumbnail](../images/2016/03/bioversity-thumbnail-bad.jpg)
- Turns out we can add `-trim` to the GraphicsMagick options to trim the whitespace
![Trimmed thumbnail](../images/2016/03/bioversity-thumbnail-good.jpg)
- Command used:
```
$ gm convert -trim -quality 82 -thumbnail x300 -flatten Descriptor\ for\ Butia_EN-2015_2021.pdf\[0\] cover.jpg
```
- Also, it looks like adding `-sharpen 0x1.0` really improves the quality of the image for only a few KB