[Gimp-developer] help required

2005-05-02 Thread Rajesh T.S




Hi all,
I am very newly introduced to GIMP. now i need to do 2D image rotation
and needs to read pixel values at some specified coordinates.
can anyone guide me in this aspect by pointing to me any simple
example codes written using GIMP libraries ...

Thanx in advance ... 

with regards,
-Rajesh TS


begin:vcard
fn:Rajesh T.S.
n:T.S.;Rajesh
email;internet:[EMAIL PROTECTED]
tel;work:23598938
tel;cell:98453 58588
x-mozilla-html:TRUE
version:2.1
end:vcard

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] help required

2005-05-02 Thread Michael Schumacher
Rajesh T.S wrote:
 Hi all,
  I am very newly introduced to GIMP. now i need to do 2D image rotation
 and needs to read pixel values at some specified coordinates.
  can anyone guide me in this aspect by pointing to me any simple example
 codes  written using GIMP libraries ...

First advice:

Configure your mailer to not send HTML and to not attach vcf files.


HTH,
Michael

-- 
The GIMP  http://www.gimp.org  | IRC: irc://irc.gimp.org/gimp
Wiki  http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins  http://registry.gimp.org |
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] High Pass Filter-

2005-05-02 Thread Michael Schumacher
Campbell Barton wrote:

 Hi, Is there a forum where ppl post scripts? - Just wondering if this is
 the appropriate spot.

http://registry.gimp.org is the right place for this.


HTH,
Michael

-- 
The GIMP  http://www.gimp.org  | IRC: irc://irc.gimp.org/gimp
Wiki  http://wiki.gimp.org | .de: http://gimpforum.de
Plug-ins  http://registry.gimp.org |
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] [maybe OT?] Code excerpts from the GIMP

2005-05-02 Thread Tom Copeland
Howdy -

Here's a bit of GIMP code publicity I thought folks might be
interested in.  I'm working on a tutorial for IBM's developerWorks site
on the GLib collections - GSList, GHashTable, GTree, and all that.  As
part of the tutorial, I'm picking out excerpts of various collection
type usages from a couple of nice open source apps - like the GIMP.

Here's a list of the references to the GIMP that I've currently got in
the article:

http://infoether.com/~tom/gimp_snippets.html

If anyone has any suggestions/corrections to the descriptions of these
usages, please email me at [EMAIL PROTECTED] (or here if you think it's
on-topic enough).

Many thanks,

Tom Copeland
[EMAIL PROTECTED]


___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] [maybe OT?] Code excerpts from the GIMP

2005-05-02 Thread Simon Budig
Tom Copeland ([EMAIL PROTECTED]) wrote:
 Here's a list of the references to the GIMP that I've currently got in
 the article:
 
 http://infoether.com/~tom/gimp_snippets.html
 
 If anyone has any suggestions/corrections to the descriptions of these
 usages, please email me at [EMAIL PROTECTED] (or here if you think it's
 on-topic enough).

I just want to make you aware that the example in
gimp-2.2.4/app/base/boundary.c  does not actually get used currently.
If you're curious: this algorithm is a modified version of the douglas
peucker algorithm for line simplification. A discussion why this code
is currently unused can be found here:
  http://bugzilla.gnome.org/show_bug.cgi?id=50730

Feel free to ask me about this code and the vector-related stuff in your
examples.

Bye,
Simon
-- 
  [EMAIL PROTECTED]  http://simon.budig.de/
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] [maybe OT?] Code excerpts from the GIMP

2005-05-02 Thread Sven Neumann
Tom Copeland [EMAIL PROTECTED] writes:

 http://infoether.com/~tom/gimp_snippets.html
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Fwd: Re: [Gimp-developer] [maybe OT?] Code excerpts from the GIMP]

2005-05-02 Thread Tom Copeland
 Forwarded Message 
 From: Sven Neumann [EMAIL PROTECTED]
  gimp-2.2.4/app/core/gimppreviewcache.c uses a GSList as a sort of
 size-based queue; it holds image previews in a GSList and uses
 g_slist_insert_sorted to insert the smaller images first. Oddly,
 another function in the same file trims the cache by iterating
 over the same GSList and comparing each item to find the smallest
 one to remove. Might be a possibility for some optimization there.
 
 The function preview_cache_remove_smallest() which is used to trim the
 cache actually uses a different comparison than what is used to keep
 the list sorted. Whether this is what the author intended, I don't know.

Ah, you're right, it uses the area vs an x1  x2 and y1  y2 comparison.
I've corrected that comment, thanks much!

http://infoether.com/~tom/gimp_snippets.html

 It might be of interest to your readers to also include GimpList as an
 implementation of the GimpContainer class.

That is interesting.  Backed by a GList, and sortable, and does unique
names too, huh?  Pretty cool.  

Thanks,

Tom


___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] help required

2005-05-02 Thread Joao S. O. Bueno Calligaris
On Monday 02 May 2005 15:07, Michael Schumacher wrote:
 Rajesh T.S wrote:
  Hi all,
   I am very newly introduced to GIMP. now i need to do 2D image
  rotation and needs to read pixel values at some specified
  coordinates. can anyone guide me in this aspect by pointing to me
  any simple example codes  written using GIMP libraries ...

 First advice:

 Configure your mailer to not send HTML and to not attach vcf files.


And after the first advice, to answer your question:


If all you need is what you describe,m you are in agood position to 
use the GIMP - Python bindings. You will be at a disvantadge if you 
are in a non-posix OS, though, as GIMP-Python bindings do not build 
on this peculiar platform.

Just install/compile gimp-python, check the example scripts 
(sphre.py). If you need to learn python, 20 or 30 minutes at 
www.gimp.org, pick the links to the tutorial, will do.

And them, just check what functions you need from the GIMP's PDB 
(XTNS-PDB browser) , like the gimp_drawable_get_pixel  function.

It is not really hard.

You can also do similar in scheme and C languages, if you prefer,or 
even perl.

Regards,

JS
--






 HTH,
 Michael
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer