On Sunday 14 December 2003 21:29, Manish Singh wrote:
> On Sun, Dec 14, 2003 at 09:24:54PM -0200, Joao S. O. Bueno wrote:
> > On Sunday 14 December 2003 18:36, Manish Singh wrote:
> > > On Sun, Dec 14, 2003 at 05:41:59PM -0200, Joao S. O. Bueno 
wrote:
> > > > Since it talks specifically about GIMP python,
> > > > which me, by chance, was trying for the very first time in
> > > > gimp 1.3 (no kidding --- I've been on gimp 1.2 with my python
> > > > fu stuff so far), it is interesting to mention that as of now
> > > > gimpImage neither gimp.pdb.gimp_image_new seens to be
> > > > working. Therefore it is currently impossible to create a new
> > > > gimp image from python.
> > > >
> > > > I am posting it here instead of bugzilla just to check if  I
> > > > am missing something obvious.
> > >
> > > What exactly are you seeing? It works fine here.
> >
> > I just tried to create a new Image from the python console,a nd
> > got
> >
> > this:
> > >>> b=gimp.Image (1, 640, 480)
> >
> > Traceback (most recent call last):
> >   File "<console>", line 1, in ?
> > error: could not create image
>
> Try b = gimp.Image(640, 480, RGB)
>
> I'm not sure where you got the "1," idea from, it's not like this
> in pygimp 1.2 either.
>
> -Yosh

It was just that. I tried the parameters in the wrong order - the 
documentation is ok on the PDB, but I was looking for documentation  
at the Python Image object, and when I did i not find it, I just 
forgot to look anywere else. Thank you.  

_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to