Two versions of libpng showing in convert -list format

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

Two versions of libpng showing in convert -list format

Post by fmw42 »

I have two versions of libpng showing in IM 6.9.9.0 Q16 Mac OSX. Delegates installed via Macports and IM installed from source.

convert -list format

PNG* PNG rw- Portable Network Graphics (libpng 1.6.29,1.6.30)

Not sure why listing is showing two versions. MacPorts only has one listed as active.

libpng @1.6.29_0
libpng @1.6.30_0 (active)

Is this a new bug and what are the ramifications?
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: Two versions of libpng showing in convert -list format

Post by glennrp »

The first is the version of png.h that was used while building ImageMagick, and the second is the version of libpng that is actually being used at run time. 1.6.29 and 1.6.30 happen to be compatible, so it's not a problem. It's not an ImageMagick bug.

There *would* be a problem if it showed incompatible versions such as (1.6.29, 1.2.54); "convert" would likely crash when it encountered a PNG file.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Two versions of libpng showing in convert -list format

Post by fmw42 »

Thanks Glenn
Post Reply