Hello Peter,

The various commandline flags you can pass to the "filter-media" command
are documented at:
https://wiki.duraspace.org/display/DSDOC6x/Mediafilters+for+Transforming+DSpace+Content#MediafiltersforTransformingDSpaceContent-Executing(viaCommandLine
)

The "-f" flag is simply "force create" mode, which means that *every*
thumbnail is recreated (even if it already exists).  Without that flag,
DSpace only creates thumbnails for images that do not yet have them
created.   However, the thumbnail that is created should be identical
whether you have -f or not.  So, my best guess is that having multiple
plugins enabled for thumbnails must have caused those oddities -- some
thumbnails may have been created by one plugin, and others by the other.

- Tim

On Sun, Oct 14, 2018 at 3:33 PM admin <[email protected]> wrote:

> Ok I had enabled different plugins for the same purpose (like PDFBox JPEG
> Thumbnail and ImageMagick PDF Thumbnail Generator) that probably caused
> overlapping.
> Anyways, I'm still curious why the same commands but with different
> parameters give different results.
>
> W dniu niedziela, 14 października 2018 10:14:32 UTC+1 użytkownik admin
> napisał:
>>
>> Hi,
>>
>> I noticed that when I run filter-media (no params) command via cron the
>> thumbnails look differently to those generated manually via filter-media -f.
>> I did a test and:
>> 1. Thumbnail generated via filter-media (cron) had no frame around image
>> and it was a grey-mode image (checked in Photoshop).
>> 2. Thumbnail generated manually via filter-media -f had a frame around
>> image and it was an RGB image.
>>
>> Both image had no color profile embedded (for this issue I started
>> another topic:
>> https://groups.google.com/forum/#!topic/dspace-tech/xVFm0WNYYIE).
>>
>> So:
>> 1. what are the reasons of these differences and
>> 2. how can I control resulting thumbnails features when running
>> filter-media (with or without any parameters) command?
>>
>> Are these two commands use different plugins?
>>
>>
>> Peter
>>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to