mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2016-03-18
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
@ -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:
|
||||
|
||||

|
||||
|
||||
- Turns out we can add `-trim` to the GraphicsMagick options to trim the whitespace
|
||||
|
||||

|
||||
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user