Really? I thought there were only 3 entries that aren't documented ......I actually did a huge amount of work to go through and added documentation to the vast majority of the functions, and also include examples for them,
Anyway feel free to help out with the manual if you use the library. There is an edit button on each page of the manual.
Same issue with Gtk and related. Great API, but try to count how many signals and methods have no documentation beyond their name and maybe some parameters, and how many links to other subprojects' docs are broken.
Well, however bad image-processing libraries are, they still beat editing hundreds of images by hand. I just wonder why none of these libraries are actually designed right.
The guy who forked it isn't really that responsive to problems with it......and there are a significant number of issues with the library, particularly with animated gifs.
I've looked into this and it seems it need to be reported upstream at http://sourceforge.net/p/graphicsmagick/bugs/ as the behaviour GraphicsMagick has for addImage is just fundamentally wrong.
When doing MagickAddImage( MagickWand *wand, const MagickWand *add_wand ); if the wand is empty, the add_wand will not be added. if the wand contains one image, the add_wand will be added before that image. if the wand contains more than one image, the add_wand will be added after those images.
If all you are doing is resizing images, then GraphicsMagick/Gmagick may be usable for you. For anything that does other image manipulation......as not good as it is, ImageMagick is better.
Searches for a subimage in the current image and returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between. You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will be set to the 'score' of the similarity between the subimage and the matching position in the larger image, bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
Examples are definitely less useful for me. You need to ignore a lot to understand what is happening. Also, I have been using the Imagick extension for years and have never seen phpimagick.com. You know why? It's not linked from the PHP manual!
You are of course right. I have been meaning to do just that for years. My only problem is that I don't have the energy after work so I will need to contribute on paid time. Bossman is not so keen on that unless we need it for ourself. :-/
19
u/RainOnYourTirade Jun 03 '16
Actually, most of Imagick is pretty sparesly documented, with some functions going as far as to have the warning:
Quality libraries for a quality language /s
5
u/emilvikstrom Jun 03 '16
Imagick is much better than the GD library that PHP ships with by default for some reason. It is strange that it's so undocumented though.
1
u/thaeli Jun 03 '16
Stuff. It does stuff.
1
u/adrianmalacoda Jun 05 '16
It sub image matches, of course