Conversion from Image to PDF failing

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
chipairon
Posts: 1
Joined: 2014-02-02T05:12:09-07:00
Authentication code: 6789

Conversion from Image to PDF failing

Post by chipairon »

Hello,

I am trying to convert this image to pdf (I do not own any rights about it, just found it through google images) http://i.huffpost.com/gen/1191232/thumb ... cebook.jpg

I download the image and then try to convert it to pdf with:

Code: Select all

mogrify -format Pdf /tmp/dali_image.jpg
And is resulting in a blank Pdf :(

I tried the 'convert' command with the same result (a blank pdf).

I have a script that converts a lot of images to pdf and the problem is that this conversion is 'failing silently'.

Thanks for your help

I am using:
mogrify --version
Version: ImageMagick 6.7.7-10 2013-09-10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

On Ubuntu 13.10 64-bit
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Conversion from Image to PDF failing

Post by snibgo »

The image has a resolution of 0.03 pixels per centimetre. Each pixel is about a foot wide. Use something sensible like "-density 72 -units pixesperinch" and it works fine.
snibgo's IM pages: im.snibgo.com
Post Reply