Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-25-2006, 07:15 AM
|
#1
|
Member
Registered: Mar 2006
Posts: 182
Rep:
|
Image manipulation library for console?
Hi!
I want to create image manipulation plugin for my website, but I want to create it as consule application, not GUI! My plugin will add graphic filters to uploaded images and saves them. I want to write this in C. Does anyone know any library etc..? Thank you!
|
|
|
03-25-2006, 08:32 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
You might want to look at ImageMagick-devel.
Also, look into the interfaces for ImageMagick, such as C, Perl, PHP, and Ruby. It may not be necessary to write your own C code to do what you want to do.
|
|
|
03-25-2006, 08:36 AM
|
#3
|
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379
Rep:
|
And the unruly twin to ImageMagick is GD2.
|
|
|
03-25-2006, 06:06 PM
|
#4
|
Member
Registered: Mar 2006
Posts: 182
Original Poster
Rep:
|
Thanks! But aren't there standart image manipulation libraries? or something that I can #include in my C code?
|
|
|
03-25-2006, 07:03 PM
|
#5
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Image Magick *is* a standard image manipulation library.
And you *can* include it in your C code.
Or C++ code. There are also ImageMagick bindings to Perl, Python and many other languages.
Oh - and it has a CLI that you can script from bash (on Linux) or even a .bat file (on Windows)!
It's great, it's incredible, it's easy to use, it's powerful, it's flexible.
Do you kind of get the impression I like ImageMagick?
I think you will, too!
Last edited by paulsm4; 03-25-2006 at 09:33 PM.
|
|
|
03-25-2006, 08:12 PM
|
#6
|
Member
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259
Rep:
|
Yes i have used it its great tool for command line users
|
|
|
03-27-2006, 05:54 AM
|
#7
|
Member
Registered: Mar 2006
Posts: 182
Original Poster
Rep:
|
Thank you! I can't find any tutorial about how to #include ImageMagick and GCC. Can anyone give me any link or something, I have searched in google, but I can't find anything!!!
|
|
|
03-27-2006, 10:14 AM
|
#8
|
Member
Registered: Mar 2006
Posts: 182
Original Poster
Rep:
|
As far as I understood, ImageMagick is like command line image manipulation app, and all I can do with it in C is system("...");??? so it isn't posible to use it in C as a librarie?
|
|
|
03-27-2006, 11:53 AM
|
#9
|
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Rep:
|
Graemef already gave you a link (he gave you two links, in fact: one to Image Magick, the other to GD2).
Several people have already explained to you that ImageMagick is *BOTH* a library (callable from C, Python, Perl and other languages) *AS WELL AS* a set of command line tools (which you can invoke from a shell script or a .bat file).
Now please re-read the previous posts: they should answer your questions.
|
|
|
03-27-2006, 04:37 PM
|
#10
|
Member
Registered: Mar 2006
Posts: 182
Original Poster
Rep:
|
Thanks, but I can't find a single tutorial about using ImageMagick in GCC!!
|
|
|
03-28-2006, 09:12 AM
|
#12
|
Member
Registered: Mar 2006
Posts: 182
Original Poster
Rep:
|
Thank you very much!!
|
|
|
03-28-2006, 09:22 AM
|
#13
|
Member
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740
Rep:
|
I've used Imlib2 on a number of occasions and like it. You can find documentation and stuff on the enlightenment site ( www.enlightenment.org ?).
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|