Magick++ and libpng dependency
Posted: 2016-04-07T14:07:51-07:00
Hello
I have a few questions that I'd be grateful for detailed answers to. The questions arise because, after building a variant of libpng, and rebuilding Magick++ against it, I saw no discernable differences in decode/encode times (despite having compiled libpng with the neon intrinsics enabled and running it on a neon enbaled cpu).
1) Could someone please explain to me what Magick++'s dependency on libpng is actually for?
That is, is Magick++ using libpng to encode/decode pixels/png data, or is Magick++ (png.c coder, in PNG's case) doing the encode/decode itself, and only using libpng for data structures (as opposed to processing)?
2) What is the 'delegate' and when would I use it? From reading the documentation, it appears to be an external program that can then be wrapped and loaded by ImageMagick in order to use its functionality. Why, then, would users ask whether they can use libpng? This relates, obviously, to my first question (ie can one wrap libpng and use that (libpng), instead of the decode/encode capabilities of the PNG coder directly)?
Thanks for your time
I have a few questions that I'd be grateful for detailed answers to. The questions arise because, after building a variant of libpng, and rebuilding Magick++ against it, I saw no discernable differences in decode/encode times (despite having compiled libpng with the neon intrinsics enabled and running it on a neon enbaled cpu).
1) Could someone please explain to me what Magick++'s dependency on libpng is actually for?
That is, is Magick++ using libpng to encode/decode pixels/png data, or is Magick++ (png.c coder, in PNG's case) doing the encode/decode itself, and only using libpng for data structures (as opposed to processing)?
2) What is the 'delegate' and when would I use it? From reading the documentation, it appears to be an external program that can then be wrapped and loaded by ImageMagick in order to use its functionality. Why, then, would users ask whether they can use libpng? This relates, obviously, to my first question (ie can one wrap libpng and use that (libpng), instead of the decode/encode capabilities of the PNG coder directly)?
Thanks for your time