http://www.imagemagick.org/Usage/api/index.html
ImageMagick v6 Examples --
API & Scripting
Index ImageMagick Examples Preface and Index API and other IM usage methods
Security Issues
Hints for Better ImageMagick Shell/PHP Scripts Why do you use multiple "convert" commands Making IM faster (in general) Compiling ImageMagick form Sources
The Command Line Interface (CLI) of ImageMgaick which this examples deals with is only one method by which you can use, modify and control images with the core library of ImageMagick functions (MagickCore). It is basically the 'shell' API interface. There are lots of other Application Programming Interfaces (API's) which you can use more directly from many programming languages, see
ImageMagick APIs.
Here I look at ways of improving your IM scripting and programming, differences between Windows and Unix scripting, and look at basics of using IM from other API's and programming languages.
APIs and other IM usage methods
API's (Application Programming Interface) for actual image processing are in fact no faster than using the CLI commands (such as "convert" (which is itself represents a type of shell-API). The same 'core' library is used for all image processing in IM. So if you are doing a complex task such as image distortion, using a API over a the shell "convert" makes very little difference in terms of overall 'speed' of processing.
阅读(962) | 评论(0) | 转发(0) |