Re: [Gimp-developer] who is interesting in writing java api to gimp

2010-05-11 Thread LightningIsMyName
Hello,

I actually had an intention to create a java api for GIMP, and I even
started to write this api. BUT, I don't really have any time to work
on it since I have other duties to do.

I can think of many places where GIMP and java's AWT package can
benefit one from another, but I simply don't have time to do it. I
know that it may sound like a long time from now, but I intend to
purpose this for GSoC for 2011 (if GIMP is accepted). I'm also willing
to work on it in GSoC if it will be chosen (but there is more than a
year untill then so we'll have to wait and see).

Right now there is no active java api for GIMP that I know of (There
is http://jgimp.sourceforge.net/ but it is very very old and
un-maintained)

~LightningIsMyName

2010/5/9 Hades ppm10...@163.com:
 Is there anyone who likes writing an java api to gimp?so the J2EE can use the 
 GIMP JAVA API   perform graphic

  祝 万事如意

Hades
 2010-05-09



 ___
 Gimp-developer mailing list
 Gimp-developer@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] who is interesting in writing java api to gimp

2010-05-09 Thread oliver
Hi,

On Sun, May 09, 2010 at 09:35:53AM +0800, Hades wrote:
 thanks for your help,but I still want to know why few people like to do some 
 api in java.
[...]

Maybe, because Java is crap.

I also think about providing a foreign language interface to Gimp,
but would use OCaml. But maybe an OCaml binding to GEGL would also
make sense.

I'm just very new to Gimp, and I'm not experienced with the huge
code base I just do some hacking in my local repository,
but so far did just some simple changes but did not start adding
another language-interface to Gimp; just thought about it (like you also do).

Maybe I will not even start it. (There is other stuff I'm working on also.)

Gimp is written in C, and uses some libraries that also provide
OO-functionality. There is glib and gtk+; and for the graphical
processing gegl will be used more and more.

I doubt that Java will provide things that are new  (because OO is already
in use inside of gimp, as just mentioned) and needed.
I have seen some Java projects, and it always was a mess to handle it.
The reason to use Java is often said:  compatibility.
But I have seen problems in this respect many years ago; Java-people
told me, things were better now; and just some months ago I saw
the same problems again.

So, the main reason does not hold.


 
 because the pure java code to do the graphics manipulation  is  a saddly 
 things,even including the sun's JAI.

So, you say, that it's not good.
But why adding a Java-API then?


OCaml would make sense to me, because it would add functional programming and
a strong and rigid type system things, that Python not brings in.
With Ptython it's sometimes a mess, because it's type coercion is very close
to that of Perl and Tcl.


But at the moment I think, instead of adding such a new language interface,
it would make even more sense to make a rewrite from scratch with another 
language.
( But I would not await for people to enter this. ;) )

This might also make sense for your Java idea. ;)
I heard Java is good for GUI-programming.
So you might start a Gimp-clone ;)
But when it uses gtk also, then you just use a different language
for the same GUI library would this make sense?
With Java not, I would guess...


And: be aware, that the Gimp code base is very huge.

So, I'm not sure I would start such a thing.
But you seem to be very motivated...

At the moment I'm working on other stuff,
and just looking what the experienced Gimp developers do.
AFAIK there are massive changes planned in the code base...
...and so, if you add your stuff now, you might have to
meet a moving target...?! (Not sure how long the API will be stable,
hopefully it will be stable for a longer time.)


The fine with using git is, that one can add his
own changes and nevertheless can slurp in the
new code from the main developers. (with rebase-ing)

So you also could start your Java-stuff, if you want,
and maybe one day, when it's good, and would convince people
that it is necessary and cool, they might be interested in importing it.

But I doubt that this will be the case.

Nevertheless, you could develop your code locally, and when it's ready to use,
then just upload your code to a server and maybe people would like to try it,
even if it is not official part of Gimp. (if nobody is interested, at least you
can use it for yourself.)

I started learning git, to be able to manage the Gimp code, to jump into the
Gimp-development; and I saw, that this tool is really helpful... it's the
ultimative tool for handling code in such big projects. If you already know how
to use it, you could start with codding right now (otherwise: learn git,
it's cool.)


So we may see your code online in a year or so? ;)

Even I dislike Java, I mean, you could just start it.
Some people might enter to help you.


 
 The ImageMagick and GIMP is good enought ,not like toy.But the ImageMagick 
 cann't do much psd file perform.
[...]

I thought psd-format is also not completely supported in Gimp.


...and: would you write a Java language interface for gimp,
just to use the psd-import from Gimp?

Couldn't this be done easier otherwise?


Ciao,
   Oliver
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] who is interesting in writing java api to gimp

2010-05-09 Thread oliver
On Sun, May 09, 2010 at 06:11:43PM +0200, oli...@first.in-berlin.de wrote:
[...]
 With Ptython it's sometimes a mess, because it's type coercion is very close
 to that of Perl and Tcl.
[...]

OK, maybe it's a littlebid exaggerated, heheh  ;)

And Python is comparingly clean, compared to Perl.

So, I mean, it's good to have it available in Gimp.

Ciao,
   Oliver
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] who is interesting in writing java api to gimp

2010-05-08 Thread Hades
Is there anyone who likes writing an java api to gimp?so the J2EE can use the 
GIMP JAVA API   perform graphic  

 祝 万事如意

   Hades
2010-05-09
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] who is interesting in writing java api to gimp

2010-05-08 Thread Omari Stephens
On 05/09/2010 01:02 AM, Hades wrote:
 Is there anyone who likes writing an java api to gimp?so the J2EE can
 use the GIMP JAVA API perform graphic
I can pretty much tell you now that this isn't going to happen.

Googling for java graphics manipulation provides some leads that you 
might try following instead.

--xsdg
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] who is interesting in writing java api to gimp

2010-05-08 Thread Hades
thanks for your help,but I still want to know why few people like to do some 
api in java.

because the pure java code to do the graphics manipulation  is  a saddly 
things,even including the sun's JAI.

The ImageMagick and GIMP is good enought ,not like toy.But the ImageMagick 
cann't do much psd file perform.






Hades
2010-05-09



发件人: Omari Stephens
发送时间: 2010-05-09 09:06:14
收件人: Hades
抄送: Gimp-developer
主题: Re: [Gimp-developer] who is interesting in writing java api to gimp

On 05/09/2010 01:02 AM, Hades wrote:
 Is there anyone who likes writing an java api to gimp?so the J2EE can
 use the GIMP JAVA API perform graphic
I can pretty much tell you now that this isn't going to happen.
Googling for java graphics manipulation provides some leads that you 
might try following instead.
--xsdg
.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer