help us on our project
This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
help us on our project | shashi kumar | 15 Mar 09:58 |
help us on our project | Shlomi Fish | 15 Mar 11:24 |
help us on our project | Michael Schumacher | 15 Mar 12:01 |
help us on our project | Sven Neumann | 15 Mar 21:48 |
help us on our project
hello sir/mam, we r students of final year engineering
studing in national institute of
engineering,mysore,karnataka,India.
sir we r doing a project on pattern recognition in
image processing.we have chosen linux as platform.we
came to know about GIMP and GIMP-PLUGINS.
sir we have some questions reguarding this
1>what r plugins & how can they be used in our
project?
2>where and how to write plugins to handle images and
extract pixel values after selecting a particular area
in an image, and how to compile and run them in GIMP?
can u plz help us about this sir.
3>how to compile a plugin and load a plugin?
4>how to write a plug-in to load an image into the
image viewer of gimp and access(pixel values) a
selected region
thank u sir/mam
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
help us on our project
Hi!
First a general remark. When writing to this list, please use proper English spelling and conventions. Capitalize letters where appropriate, don't use abbreviations like "r" and "u", etc.
On Tuesday 15 March 2005 10:58, shashi kumar wrote:
hello sir/mam, we r students of final year engineering studing in national institute of
engineering,mysore,karnataka,India.sir we r doing a project on pattern recognition in image processing.we have chosen linux as platform.we came to know about GIMP and GIMP-PLUGINS. sir we have some questions reguarding this 1>what r plugins & how can they be used in our project?
Plug-ins are programs that GIMP runs that can interact with the GIMP. A plug-in can call the functions of GIMP and of other plug-ins and so create effects and manipulate images in certain ways. Most of the Filters under the Filters menu are implemented using Plug-ins.
2>where and how to write plugins to handle images and extract pixel values after selecting a particular area in an image, and how to compile and run them in GIMP? can u plz help us about this sir.
For compiling plug-ins you should make use of gimptool. There's a plug-in template available at:
ftp://ftp.gimp.org/pub/gimp/plugin-template/
which you can start from, and you can take a look at the existing plug-ins in the GIMP distribution or in the Plug-ins registry (http://registry.gimp.org/) for ideas how to do things.
3>how to compile a plugin and load a plugin?
To load it put it in one of the GIMP's plug-in paths (e.g: $HOME/.gimp-2.3/plug-ins/)
4>how to write a plug-in to load an image into the image viewer of gimp and access(pixel values) a selected region
What does the image viewer has to do with a plug-in? You can load images using the gimp_file_load() PDB function. Code to access its pixel values can be found under plug-ins/ in the GIMP distribution.
Regards,
Shlomi Fish
thank u sir/mam
__________________________________ Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ _______________________________________________ Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
help us on our project
Shlomi Fish wroite:
On Tuesday 15 March 2005 10:58, shashi kumar wrote:
4>how to write a plug-in to load an image into the image viewer of gimp and access(pixel values) a selected region
What does the image viewer has to do with a plug-in? You can load images using the gimp_file_load() PDB function. Code to access its pixel values can be found under plug-ins/ in the GIMP distribution.
I think this is a request for advice on how to create a file loading/saving plug-in (registering the handlers for file type etc...). AFAIK there is no template for this (wasn't there an enhancement request for this?). It should be possible to use existing plug-ins as an example, though.
HTH, Michael
help us on our project
Hi,
"Michael Schumacher" writes:
I think this is a request for advice on how to create a file loading/saving plug-in (registering the handlers for file type etc...). AFAIK there is no template for this (wasn't there an enhancement request for this?). It should be possible to use existing plug-ins as an example, though.
The only purpose of the plug-in template is to help people that are trying to create complex plug-ins to get the build system right. It is complete overkill for 95% of all plug-ins and definitely for any file plug-in I can think of.
The API reference at http://developer.gimp.org/ is what we should point developers too. The plug-in template only comes into the game if the plug-in becomes large.
Sven