Best, most used , or supported interface .. (I guess)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
weedeater64
Posts: 5
Joined: 2011-11-16T17:50:06-07:00
Authentication code: 8675308

Best, most used , or supported interface .. (I guess)

Post by weedeater64 »

Greetings all.

Brief background, linux end user for 6 years, programmer not. I tinker a lot, and struggle a lot. I jump around a lot and usually barely scratch the surface. k.

So someone was discussing making a web page where the admin could log in and make changes to a political map, both in text and color.

I set about to see what I could come up with, this is what I came up with.
http://paste2.org/p/1781268
Criticism is welcome.


So then I started thinking of ways to back a web page with that. I intend to have a go at a cgi script, but I want to look at other stuff too.

I've fiddled with both php-imagick and pythonmagick, when I say fiddled, I mean barely barely scratched the surface.

I'm wondering of the interfaces available, especially of the easier ones, which are most used, and have the most user actively discussing them. Couldn't help but notice there are a couple of sub forums here like perlmagick and imagick, but a distinct lack of python and others. Is that due to the popularity of php and the power of perl ?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Best, most used , or supported interface .. (I guess)

Post by anthony »

PerlMagick and IMagick for PHP were designed specifically for the language. Python however uses the same interface as 'MagickWand'. This is why it is not talked about as much, as you talk about Magick Wand.

The most common interface however is probably the Command line, even when used from PHP. the reason is simple. Lots of examples of use. Typically the command line is easier to develop, any then (if you really need it) you can then convert the step to a more specific API, to reduced the setup and forking of extra processes.

Even this aspect will change as IMv7 is adding co-processing. Running a single 'daemon' "convert-like" command which holds and processes the images under a PHP, shell or other language control, using CLI commands. This should become available next year.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
weedeater64
Posts: 5
Joined: 2011-11-16T17:50:06-07:00
Authentication code: 8675308

Re: Best, most used , or supported interface .. (I guess)

Post by weedeater64 »

Thanks. I think I'll stick to bash scripts and call them up with 'system' in php.
Post Reply