Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
SteffenR
Post
by SteffenR » 2007-02-09T05:59:52-07:00
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:
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
ridera
Post
by ridera » 2007-02-09T08:04:16-07:00
Suggest that you specify the size of the output you want so the code will know.
SteffenR
Post
by SteffenR » 2007-02-09T08:10:31-07:00
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..
el_supremo
Posts: 1015 Joined: 2005-03-21T21:16:57-07:00
Post
by el_supremo » 2007-02-09T10:41:02-07:00
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
SteffenR
Post
by SteffenR » 2007-02-09T15:57:37-07:00
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