Hello,

The CMYK support is only related to correct handling of colors when
creating JPG thumbnails from CMYK PDFs. If you set the cmyk_profile and
srgb_profile options in the DSpace configuration, filter-media will attempt
to detect if a PDF is using the CMYK color space. This does not affect PDFs
that are using the sRGB color space.

To test whether it's working you need to find a PDF that is using the CMYK
color space. Here is one on our repository[0]:

$ identify alc_contrastes_desafios.pdf\[0\]
alc_contrastes_desafios.pdf[0]=>alc_contrastes_desafios.pdf PDF 612x792
612x792+0+0 16-bit ColorSeparation CMYK 1.8491MiB 0.090u 0:00.080

Without this filter-media patch the colors in the resulting thumbnail were
horrible and inaccurate (our editors even noticed)!

Hope that helps,

[0] https://hdl.handle.net/10568/51999

On Sun, Oct 14, 2018 at 12:30 AM admin <ad...@ispan.waw.pl> wrote:

> Hi,
>
> I enabled:
> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.cmyk_profile =
> /usr/share/color/icc/ghostscript/default_cmyk.icc
> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.srgb_profile =
> /usr/share/color/icc/ghostscript/default_rgb.icc
>
> 1. should I expect now that all generated thumbnails will have sRGB
> profile embedded?
> 2. what actually does
> org.dspace.app.mediafilter.ImageMagickThumbnailFilter.cmyk_profile? It
> embeds CMYK profile into a thumbnail? I'd rather thumbnails have only sRGB
> profile, should I disable CMYK filter then? If so, will CMYK files have
> sRGB thumbnail generated anyways?
>
> However, having these two lines uncommented in local.cfg I noticed that
> graphic profiles are not embedded into thumbnails after running
> filter-media -f command. The paths seem to be valid.
>
>
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alan Orth
alan.o...@gmail.com
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch
"In heaven all the interesting people are missing." ―Friedrich Nietzsche

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
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