nims-dpfc / nims-hyrax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF files in publications are throwing errors in file actor stack

anusharanganathan opened this issue · comments

This has been largely solved by installing all the needed libraries for ghostscript and imagemagick. I have also installed ffmpeg and enabled it.

The attached file is generating a thumbnail with no text. Identified this to be an issue with imagemagick. It works in nurax-dev.

I tried compiling and installing the latest version of image magick, but still see this issue. The compiled and installed imagemagick had the following options enabled

convert -v
Version: ImageMagick 7.0.8-28 Q16 x86_64 2019-02-13 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP 
Delegates (built-in): bzlib djvu fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr lzma openexr png ps raw tiff webp wmf x xml zlib

To reproduce the error

  • Copy the file to /tmp/test.pdf
  • Convert the pdf file to png using the following command and view the first png image (test-0.png)
    convert test.pdf test.png