Re: [Gimp-developer] gtk.FileChooserButton crashes on Windows....

2013-12-25 Thread Ragnar Brynjúlfsson
n for Windows users. Any ideas? Ragnar On Sat, Nov 30, 2013 at 1:15 AM, Ragnar Brynjúlfsson wrote: > Hi, > > I don't know if I'm doing this right, but when I run the following code > in the Python Fu Console in Gimp 2.8.8 on Windows, and try to choose > anyt

[Gimp-developer] gtk.FileChooserButton crashes on Windows....

2013-11-29 Thread Ragnar Brynjúlfsson
Hi, I don't know if I'm doing this right, but when I run the following code in the Python Fu Console in Gimp 2.8.8 on Windows, and try to choose anything from the dropdown menu, I get an error saying "pythonw.exe has stopped working", and the Window and Python Console crash. import gtk window =

Re: [Gimp-developer] I18N in Python plugin

2013-06-04 Thread Ragnar Brynjúlfsson
I've added i18n/gettext support to my plug-in over the weekend. I don't know if it's completely correct, but it does work. :) You can get it from here http://ragnarb.com/toolbox/gimp-book/ and have a look at the code. The translation code is at the beginning of booy.py, and each string to be tran

Re: [Gimp-developer] I18N in Python plugin

2013-06-01 Thread Ragnar Brynjúlfsson
_with_path() before it registers any functions. Have a look at the script-fu plug-in to see how this is done in detail. " Ragnar On Thu, May 30, 2013 at 9:40 PM, Ragnar Brynjúlfsson wrote: > I was just going to ask the same question. I've started implementing this > in my Gimp Bo

Re: [Gimp-developer] I18N in Python plugin

2013-05-30 Thread Ragnar Brynjúlfsson
I was just going to ask the same question. I've started implementing this in my Gimp Book plug-in, following this http://wiki.maemo.org/Internationalize_a_Python_application guide, but haven't got it working yet, and have no idea what I'm doing wrong. What would be the correct way to go about tran

Re: [Gimp-developer] Animation choices

2012-08-15 Thread Ragnar Brynjúlfsson
Why not use mng instead of apng. mng is, as far as I know, officially supported by libpng and doesn't require any patching. They basically do the same thing, just in a slightly different way. On Wed, Aug 15, 2012 at 2:32 PM, Simon Budig wrote: > Alexandre Prokoudine (alexandre.prokoud...@gmail.

[Gimp-developer] Finding the gimp icon path in Python....

2012-08-14 Thread Ragnar Brynjúlfsson
How can I reliably find the path to where the Gimp icons are across all platforms? I'm basically doing: self.set_icon_from_file("/usr/share/icons/hicolor/scalable/apps/gimp.svg") in a PyGtk plug-in, which will obviously break on Windows, OSX and even on some other Linux distros. ___

Re: [Gimp-developer] Accessing the thumbnail size preference from Python...

2012-08-14 Thread Ragnar Brynjúlfsson
Thanks. It's not a big issue, so I'll manage fine without it. On Tue, Aug 14, 2012 at 6:51 PM, Joao S. O. Bueno wrote: > On 14 August 2012 12:57, Ragnar Brynjúlfsson wrote: >> Hi, >> >> Is there a way to access what the thumbnail size >> (Edit>Prefer

[Gimp-developer] Accessing the thumbnail size preference from Python...

2012-08-14 Thread Ragnar Brynjúlfsson
Hi, Is there a way to access what the thumbnail size (Edit>Preferences>Environment>Size of Thumbnails) is set to in the Gimp preferences from within my Python script? My script currently uses the largest size thumbnails it can find of the .xcf files it uses, but I would prefer if it stuck to

Re: [Gimp-developer] Merge "Save a Copy" with "Export As" [was: Ditch the "Save a Copy" command (really)]

2012-06-23 Thread Ragnar Brynjúlfsson
While reading through the endless mails about the new Export and Save (which btw I agree with the approach the devs have taken), it got me thinking just the same. Does Save a Copy still have a function, or is it just cluttering up the menu? Personally I think it's just cluttering up the menu, and

Re: [Gimp-developer] Targeted audience of GIMP?

2012-05-18 Thread Ragnar Brynjúlfsson
There are a couple of user scenarios that are not on the list, that I hope can be included. These are: - Creating original art from scratch (basically drawing and painting...this is mainly what I use GIMP for). Actually, it works pretty nicely for this as is...but it would be nice to see it includ

Re: [Gimp-developer] new interaction project starting...

2012-05-15 Thread Ragnar Brynjúlfsson
Olivier wrote: > 2012/5/15 Ragnar Brynjúlfsson : >> Hi, >> >> A very nice feature for people who use Gimp for drawing (like me) >> would be to have brush size adjustable by simply holding a key and >> dragging the mouse/pen anywhere on the canvas. This would then grow

Re: [Gimp-developer] new interaction project starting...

2012-05-15 Thread Ragnar Brynjúlfsson
Hi, A very nice feature for people who use Gimp for drawing (like me) would be to have brush size adjustable by simply holding a key and dragging the mouse/pen anywhere on the canvas. This would then grow or shrink the brush, and you could judge the size from the outline of the brush as your drag.

Re: [Gimp-developer] that typing business...

2012-04-28 Thread Ragnar Brynjúlfsson
I tend to use Gimp with easystroke gestures when drawing. I did a tutorial on it a while back, which can be found here. http://www.gimptalk.com/index.php?/topic/36788-tutorial-using-gimp-with-gestures-look-ma-no-keyboard/ It's a bit out of date, but easystroke still works like a charm. I've switch

Re: [Gimp-developer] Python plugin debugging and workflow

2012-04-04 Thread Ragnar Brynjúlfsson
I'm assuming Jon is working on Windows. On Linux you can just start gimp from a terminal and get all the output you need, but when I was porting a plug-in I wrote to Windows, there was no info in the command line, and I had to resort to printing stuff to the gimp error console. Anyone know how to d

Re: [Gimp-developer] [Gimp-user] ANNOUNCE: GIMP 2.7.5 released

2012-03-18 Thread Ragnar Brynjúlfsson
Hi, I don't know how Linux Mint sets up it's tablet, but in the past I've used wdaemon ( http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Wdaemon ), to make hot-plugging of wacom tablets work under CentOS 4/5. It basically creates a virtual tablet that is connected all the time,

Re: [Gimp-developer] does gimp have a liquify equiavlent module in the working

2012-03-02 Thread Ragnar Brynjúlfsson
A good place to start is probably with python-fu, unless you know C/C++ really well. When writing my first python script for Gimp I found these http://www.exp-media.com/gimp-python-tutorial tutorials really helpful, plus of-course this http://www.gimp.org/docs/python/index.html official documentat

Re: [Gimp-developer] Adding use-event-history to 2.6.12...is it too late?

2012-03-02 Thread Ragnar Brynjúlfsson
> On Thu, 2012-03-01 at 23:31 +0100, Ragnar Brynjúlfsson wrote: >> Hi, >> >>  I know that 2.6.12 is the final 2.6 release, so this might come a >> little late, but would it be possible to add this patch ( >> http://git.gnome.org/browse/gimp/commit/?id=dbf844

Re: [Gimp-developer] does gimp have a liquify equiavlent module in the working

2012-03-02 Thread Ragnar Brynjúlfsson
The closest you get is probaby Filters>Distor>IWarp... in 2.6 2.7 has the Cage Transform tool, it's in the toolbox and looks like a polygon with 5 points on it. Ragnar On Sat, Mar 3, 2012 at 7:11 AM, supratim chakraborty wrote: > I would like to know whether the liquify equivalent module exist

[Gimp-developer] Adding use-event-history to 2.6.12...is it too late?

2012-03-01 Thread Ragnar Brynjúlfsson
Hi, I know that 2.6.12 is the final 2.6 release, so this might come a little late, but would it be possible to add this patch ( http://git.gnome.org/browse/gimp/commit/?id=dbf844c012894166e312470f0d98560d5e426613 ) to the official release. It fixes an issue with Gimp on Ubuntu 11.10 (and probab

[Gimp-developer] Naming of thumbnails in Gimp on Windows....

2012-01-26 Thread Ragnar Brynjúlfsson
I'm new here, so Hi all. :) I just finished a python script/plug-in called GIMP Book for managing multiple pages in GIMP 2.6 (I make comics in my free time, so it comes quite handy). It can be found at http://registry.gimp.org/node/25975 I developed it on Ubuntu, and it works fine on Ubuntu and Fe