hi All, i am very new to imagemagick, so I beg your indulgence in advance! We are using a report writer called actuate to generate a pdf file. This report can sometimes contain diacritic marks, like accents in French etc. We then use the convert command to flip the report in order to get a mirror image, but we are finding that the convert fails if diacritic marks are found. We are using the following command:
convert -flop -append -density 200 abc.pdf def.pdf
The conversion works, if there are no such marks.
We are using TimesNewRoman and TimesNewRoman Bold. Does anyone know if this conversion is possible? many thanks in advance.
Conversion crashing when converting pdf with diacritic marks
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Conversion crashing when converting pdf with diacritic marks
-append needs two input images and an output image. not sure why you need append just to mirror the image. For a flop of one image, tryconvert -flop -append -density 200 abc.pdf def.pdf
convert -density 200 abc.pdf -flop abc_flopped.pdf
If you want to -flop two images and append, then try
convert -density 200 abc.pdf def.pdf -flop -append abc_def_flopped.pdf
If you are trying to flop both images and make them into a two-page pdf, then try
convert -density 200 abc.pdf def.pdf -flop abc_def.pdf
Note that IM will rasterize your image to do the flop and then convert back to vector pdf. So IM may not be the best solution.
see http://www.imagemagick.org/Usage/formats/#vector
Re: Conversion crashing when converting pdf with diacritic marks
thanks..tried your suggestion..but same results as before in that diacritic marks in the input file appears to crash the process, whereas if the input file has no such marks, it converts ok. Any other suggestions please?
Re: Conversion crashing when converting pdf with diacritic marks
Post a URL to one of your PDF's that causes the crash. We need to reproduce the problem before we can suggest a fix / workaround.