Page 1 of 1

Problem converting PDF to GIF

Posted: 2007-02-09T05:59:52-07:00
by SteffenR
Hi there..
I have a really strange problem with converting a PDF-File to a GIF Image or to other Image Formats.
The outputted image is much bigger (dimensions) than the input PDF File..

Here you find the used PDF and the outputted GIF File..
http://www.port11.de/output.gif
http://www.port11.de/problem.pdf

I tried the following commands:

Code: Select all

convert problem.pdf output.gif
and

Code: Select all

convert problem.pdf -trim output.gif
Imagemagick-Version:
ImageMagick 6.0.6 11/15/06 Q16

Thx in advance for your help,
SteffenR

Re: Problem converting PDF to GIF

Posted: 2007-02-09T08:04:16-07:00
by ridera
Suggest that you specify the size of the output you want so the code will know.

Re: Problem converting PDF to GIF

Posted: 2007-02-09T08:10:31-07:00
by SteffenR
ridera wrote: Suggest that you specify the size of the output you want so the code will know.

sry.. i already did..
The output is the same - only resized by the given size via convert -resize 200x150 eg..

Anybody another tip to solve this problem ?

Thx..

Re: Problem converting PDF to GIF

Posted: 2007-02-09T10:41:02-07:00
by el_supremo
You need:

Code: Select all

convert problem.pdf -trim +repage output.gif
The original image actually contains three signatures plus some printing, including a logo, on a transparent background.

Pete

Re: Problem converting PDF to GIF

Posted: 2007-02-09T15:57:37-07:00
by SteffenR
el_supremo wrote: You need:

Code: Select all

convert problem.pdf -trim +repage output.gif
The original image actually contains three signatures plus some printing, including a logo, on a transparent background.

Pete


Thanks - that works perfect for me ;)..

Greets,
SteffenR