Hello there,


i hope this is a good place to share my ugly but working solution to the 
conversion

failure of a pdf into OM5.



I have a freshly cloud installation of OM5 on ubuntu 18.04 LTS following a 
tutorial

by Alvaro, many thanks to him for this great work.



Still little struggle with automatic starting of daemons, the scripts in 
/etc/init.d only

works manually. I began to write some systemd unit, but it's another story.



One of my beta-testers ;-) runs across a problem with a pdf of his creation. 
This pdf

was small (640 Ko) and opens like a charm with everything i try to open it. I 
even open

it in LibreOffice, re-save in pdf, same result.



Digging in OM logs, I found convert from Imagemagick is used to save each page 
in png.

In command line, i was able to reproduce the failure of convert. With the error 
message

from convert, i tried many of the switches proposed over Internet to circumvent 
the problem

but with no luck.



Finally i tried Graphicsmagick and it works. I just write a little bash script 
named convert

to intercept OM command and insert the parameter "+adjoin" 



maybe it can help somebody.



Titus






Reply via email to