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 ?
Best, most used , or supported interface .. (I guess)
-
- Posts: 5
- Joined: 2011-11-16T17:50:06-07:00
- Authentication code: 8675308
- 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)
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.
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/
https://imagemagick.org/Usage/
-
- Posts: 5
- Joined: 2011-11-16T17:50:06-07:00
- Authentication code: 8675308
Re: Best, most used , or supported interface .. (I guess)
Thanks. I think I'll stick to bash scripts and call them up with 'system' in php.