generated png file size zero

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
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

generated png file size zero

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: generated png file size zero

Post 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.
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

Re: generated png file size zero

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: generated png file size zero

Post 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
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

Re: generated png file size zero

Post by mahanilayam »

My mistake...Sorry..
Can you check this link https://www.dropbox.com/s/p25bxp6mox5y9 ... 1.pdf?dl=0
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: generated png file size zero

Post 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.
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

Re: generated png file size zero

Post 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
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

Re: generated png file size zero

Post 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.
mahanilayam
Posts: 7
Joined: 2016-03-10T15:10:38-07:00
Authentication code: 1151

Re: generated png file size zero

Post by mahanilayam »

Hello glennrp ,
Can you let me know where can I get pre-compiled code to use imageMagicK in AIX 6.x version
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: generated png file size zero

Post 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 ";"?
Post Reply