Hello dev team,
On:
# cat /etc/issue
Ubuntu 12.04.3 LTS \n \l
Using both Version: ImageMagick 6.6.9-7 which is the official version in the repos, as well as 6.5.1-2 Q16, this command fails:
# /home/jess/bin/convert -limit memory 512 -density 400x400 -geometry $ANY_NUMBER /path/to/source.pdf /tmp/jessport1.jpg
However, this one results in a successful conversion:
# /usr/bin/convert -limit memory 512 -density 400x400 /path/to/source.pdf /tmp/jessport0.jpg
On FC11, using 6.5.1-2 the first command also completes successfully.
Please let me know if you need an strace output or want me to try to use a debug binary with control outputs.
I can also provide the source file, I don't see an option to attach a file here though..
Thank you in advance,
Passing -geometry results in a black image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Passing -geometry results in a black image
Perhaps -density and -geometry are competing. You should not need both. Normally one just uses -density.
Last edited by fmw42 on 2013-10-30T09:40:45-07:00, edited 1 time in total.
Re: Passing -geometry results in a black image
Hello,
In the man page I see:
-geometry geometry preferred size or location of the image
So, I am not quite sure why you say it will take no affect but regardless, why does it cause this result? and why doesn't it on FC?
Thanks,
In the man page I see:
-geometry geometry preferred size or location of the image
So, I am not quite sure why you say it will take no affect but regardless, why does it cause this result? and why doesn't it on FC?
Thanks,
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Passing -geometry results in a black image
I have never seen -geometry used that way. But a quick test does show it has an effect on the size of the pdf using IM 6.8.7.3. Normally it is just a setting for use with -composite. But as a setting, I suppose it could affect the size of a pdf when used before the reading of the pdf.
Perhaps -density and -geometry are competing. You should not need both. Normally one just uses -density.
Perhaps -density and -geometry are competing. You should not need both. Normally one just uses -density.
Re: Passing -geometry results in a black image
Hi,
I am using this as part of a pretty extensive conversion engine which I would really prefer not to change at the moment.
My question is still valid, I think: why does it work well on FC with the same exact IM version?
I am using this as part of a pretty extensive conversion engine which I would really prefer not to change at the moment.
My question is still valid, I think: why does it work well on FC with the same exact IM version?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Passing -geometry results in a black image
What is FC? I suspect that there may be issues with the version of IM that you are using that fails.
Perhaps different versions of Ghostscript.
Perhaps different versions of Ghostscript.
Re: Passing -geometry results in a black image
FC is Fedora Core.
I tried using two versions as stated in my original post. Both fail the same way.
I tried using two versions as stated in my original post. Both fail the same way.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Passing -geometry results in a black image
What about the Ghostscript version on the various computers
Re: Passing -geometry results in a black image
Ghostscript versions are the same in both.
Thanks,
Thanks,