sea shore
thanks.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
> On Fri, May 29, 2009 at 3:59 PM, Ryan Krauss wrote:
> > pdb.gimp_xcf_save(1, img, drawable, xcf_path, xcf_path)
> > pdb.gimp_file_save(img, drawable, xcf_path, xcf_path)
That leads into something I've been needing from Python:
I'd like a way of bringing up a Save-as or Export-as dialog
from a P
Akkana Peck wrote:
> I'd like a way of bringing up a Save-as or Export-as dialog
> from a Python script. There's no API for this currently, as far
> as I can tell.
The Save and Export dialogs are rather tightly coupled to the core
currently so it will not be trivial to extend the plug-in API to s
Martin Nordholts writes:
> IMO we should not reuse gimp_file_save() for this but instead introduce
> gimp_show_save_dialog() and gimp_show_export_dialog(). I am a bit
> worried however that plug-ins will abuse this power. In your case, why
> do you need to show these dialogs? Isn't it better if
This is mildly hackish, but my approach is to pop up a Tk save as dialog:
filetypes = [('png files', '*.png'), ('jpg files', '*.jpg'),\
('all files', '.*')]
def save_as(initialdir=None, initialfile=None):
filename = tkFileDialog.asksaveasfilename(initialdir=initialdir, \
does XNU uses C or C++?
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
the CLI (text) should have a trash can (image);
rm rf ./ is too risky
safe hex; updating filters+
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
On Friday 29 May 2009 21:56:50 Esteban Barahona wrote:
> the CLI (text) should have a trash can (image);
>
> rm rf ./ is too risky
>
> safe hex; updating filters+
Could somebody evict this guy from the mail list?
___
Gimp-developer mailing list
Gimp-devel
what is evict?
./ sexy no jutsu
.../5/29 Alexia Death
> On Friday 29 May 2009 21:56:50 Esteban Barahona wrote:
> > the CLI (text) should have a trash can (image);
> >
> > rm rf ./ is too risky
> >
> > safe hex; updating filters+
> Could somebody evict this guy from the mail list?
>
.-gen jutsu
On Fri, 2009-05-29 at 10:18 -0700, Akkana Peck wrote:
> Martin Nordholts writes:
> > IMO we should not reuse gimp_file_save() for this but instead introduce
> > gimp_show_save_dialog() and gimp_show_export_dialog(). I am a bit
> > worried however that plug-ins will abuse this power. In your case,
utf-8 or ascii?
'9/5/29 Esteban Barahona
> does XNU uses C or C++?
>
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
But how would you progromatically suggest a good filename before popping up
the dialog? That is what my code does.
On Fri, May 29, 2009 at 3:37 PM, Sven Neumann wrote:
> On Fri, 2009-05-29 at 10:18 -0700, Akkana Peck wrote:
> > Martin Nordholts writes:
> > > IMO we should not reuse gimp_file_sa
Hi,
I'm a relative newbie trying to have a GIMP plugin draw a line (among
other things).
I found gdk_draw_line which seems to be what I want. But I don't know
what to do about drawable. I of course have the GimpDrawable, and I
have a guint8 array which holds the data from the GimpDrawable:
g
Hi,
On Fri, 2009-05-29 at 12:34 -0500, Ryan Krauss wrote:
> This is mildly hackish, but my approach is to pop up a Tk save as
> dialog:
>
> filetypes = [('png files', '*.png'), ('jpg files', '*.jpg'),\
> ('all files', '.*')]
>
>
> def save_as(initialdir=None, initialfile=None):
>
Hi,
On Fri, 2009-05-29 at 17:51 -0400, Adam C Powell IV wrote:
> I'm a relative newbie trying to have a GIMP plugin draw a line (among
> other things).
>
> I found gdk_draw_line which seems to be what I want.
It is not what you want. GDK is a drawing toolkit used by GTK+ for
drawing user interf
Sven Neumann writes:
> On Fri, 2009-05-29 at 10:18 -0700, Akkana Peck wrote:
> > I need to show the dialogs because the plug-in needs to save a
> > file (that's the whole point of the plug-in) and it seems like
> > bad UI to pop up the JPEG save dialog without ever showing the
> > user where the fi
On Sat, 2009-05-30 at 00:00 +0200, Sven Neumann wrote:
> Hi,
>
> On Fri, 2009-05-29 at 17:51 -0400, Adam C Powell IV wrote:
>
> > I'm a relative newbie trying to have a GIMP plugin draw a line (among
> > other things).
> >
> > I found gdk_draw_line which seems to be what I want.
>
> It is not w
No, I have no good reason :) I am not really familiar with any Python GUI
toolkit other than wxPython. When I realized that wouldn't work, I googled
for Tk because I thought that was the one that ships with Python.
On Fri, May 29, 2009 at 4:57 PM, Sven Neumann wrote:
> Hi,
>
> On Fri, 2009-05-
The procedure browser is your best bet (should be under the help menu).
gimp-pencil and gimp-paintbrush look the ones.
On Fri, May 29, 2009 at 6:41 PM, Adam C Powell IV wrote:
> On Sat, 2009-05-30 at 00:00 +0200, Sven Neumann wrote:
> > Hi,
> >
> > On Fri, 2009-05-29 at 17:51 -0400, Adam C Powell
19 matches
Mail list logo