Page 1 of 1

generated png file size zero

Posted: 2016-03-10T15:23:04-07:00
by mahanilayam
I am using below mentioned image magick to convert files.

bash-4.2$ convert -version
Version: ImageMagick 6.2.5 08/04/06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

When I convert pdf file (pdf file name is test1457592517751.pdf[0]) into png file format it is failing. All other pdf file converisons to png is success without any issues. The test1457592517751.pdf[0] file is continuously failing. During conversion not getting any error, the png file gets created but its size is zero. Not sure what is going wrong. Can you please help with this issue. Not sure how to upload file here...I don't see any option to upload file here.

Thanks in advance for your help.

Re: generated png file size zero

Posted: 2016-03-10T17:54:35-07:00
by fmw42
Please always identify your platform as well as your IM version.

IM 6.2.5.x is ancient (over 650 versions old). You should upgrade if possible.

What is your version of Ghostscript? It also may be ancient.

To help, please post your troublesome PDF file to some free hosting service such as dropbox.com and put the URL here. We cannot advise without your file.

Re: generated png file size zero

Posted: 2016-03-11T07:52:37-07:00
by mahanilayam
Hello,
Thanks for your reply.

I noted IM version is ancient and will look into it. But upgrade depends on lot of parameters and may not happen immediately.
Ghostscript version is mentioned below

bash-4.2$ gs -h
GPL Ghostscript 8.64 (2009-02-03)


Uploaded file into drop box and the link is https://www.dropbox.com/s/rcktu7nk6s8ob ... x.pdf?dl=0

Let me know if you have any issues with file accessing.

Thanks again for your help.

Regards, MahaNil

Re: generated png file size zero

Posted: 2016-03-11T09:52:49-07:00
by fmw42
Your link does not go the image. Be sure you make the file public.

Your Ghostscript is ancient also. My version (not current) is 9.16

Re: generated png file size zero

Posted: 2016-03-15T13:46:43-07:00
by mahanilayam
My mistake...Sorry..
Can you check this link https://www.dropbox.com/s/p25bxp6mox5y9 ... 1.pdf?dl=0

Re: generated png file size zero

Posted: 2016-03-15T14:32:54-07:00
by glennrp
Works for me on Ubuntu using IM-6.9.3-7 and libpng-1.2.50-ubuntu. With IM-6.9.0-0 and libpng-1.6.18 there is a warning about the ICC profile but a PNG image is created.

Re: generated png file size zero

Posted: 2016-04-08T08:22:09-07:00
by mahanilayam
Hello,
I am working on upgrading ImageMagicK. Can I use below version for my AIX 6.1 version

can I download ImageMagick.tar.gz from www.imagemagick.org from below url to upgrade my ImageMagicK
http://www.imagemagick.org/script/insta ... e.php#unix

Can you also suggest me on ghostscript download for AIX

Thanks,
MahaNilaya

Re: generated png file size zero

Posted: 2016-04-14T07:51:18-07:00
by mahanilayam
Hello,
I have downloaded imagemagicK from above mentioned location. During configuration I am getting compilation error.
Can you please suggest pre-compiled version or information on the compilation error to get it resolved.

My OS is: AIX 6.1

compilation error is:
./configure[10488]: syntax error at line 10495 : ';' unexpected


Thanks.

Re: generated png file size zero

Posted: 2016-05-17T10:00:44-07:00
by mahanilayam
Hello glennrp ,
Can you let me know where can I get pre-compiled code to use imageMagicK in AIX 6.x version

Re: generated png file size zero

Posted: 2016-05-17T10:52:47-07:00
by glennrp
Sorry but I'm not aware of any binary distribution of ImageMagick for AIX. What version of IM did you download, that has the unexpected ";"?