mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2017-02-21
This commit is contained in:
@ -188,3 +188,26 @@ b'Entwicklung & L\xc3\xa4ndlicher Raum'
|
||||
```
|
||||
|
||||
- So for now I will remove the encode call from the script (though it was never used on the versions on the Linux hosts), leading me to believe it really *was* a temporary problem, perhaps due to macOS or the Python build I was using.
|
||||
|
||||
## 2017-02-21
|
||||
|
||||
- Testing regenerating PDF thumbnails, like I started in 2016-11
|
||||
- It seems there is a bug in `filter-media` that causes it to process formats that aren't part of its configuration:
|
||||
|
||||
```
|
||||
$ [dspace]/bin/dspace filter-media -f -i 10568/16856 -p "ImageMagick PDF Thumbnail"
|
||||
File: earlywinproposal_esa_postharvest.pdf.jpg
|
||||
FILTERED: bitstream 13787 (item: 10568/16881) and created 'earlywinproposal_esa_postharvest.pdf.jpg'
|
||||
File: postHarvest.jpg.jpg
|
||||
FILTERED: bitstream 16524 (item: 10568/24655) and created 'postHarvest.jpg.jpg'
|
||||
```
|
||||
|
||||
- According to `dspace.cfg` the ImageMagick PDF Thumbnail plugin should only process PDFs:
|
||||
|
||||
```
|
||||
filter.org.dspace.app.mediafilter.ImageMagickImageThumbnailFilter.inputFormats = BMP, GIF, image/png, JPG, TIFF, JPEG, JPEG 2000
|
||||
filter.org.dspace.app.mediafilter.ImageMagickPdfThumbnailFilter.inputFormats = Adobe PDF
|
||||
```
|
||||
|
||||
- I've sent a message to the mailing list and might file a Jira issue
|
||||
- Ask Atmire about the failed interpolation of the `dspace.internalUrl` variable in `atmire-cua.cfg`
|
||||
|
Reference in New Issue
Block a user