Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-21 Thread Partha Bagchi
It should not be a problem I think since I work on both Mac and Windows. GTK3 and friends build just fine for me on those platforms. What problems are you envisaging? Thanks, Partha On Sat, Feb 21, 2015 at 8:11 AM, Joao S. O. Bueno gwid...@gmail.com wrote: On 21 February 2015 at 10:35, Partha

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-21 Thread Alek _
sure older stuff that always assumed 8-bit will still work? So you're supposed to enable precision if you want to access to the new higher bit depth? Date: Sat, 21 Feb 2015 02:54:51 -0200 Subject: Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9) From

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-21 Thread Partha Bagchi
Hi João, What's your timeframe for modifying pygimp to use introspection? I have not yet built glib and friends with introspection because it's a pain and it's finicky. :) Thanks, Partha On Fri, Feb 20, 2015 at 11:54 PM, Joao S. O. Bueno gwid...@gmail.com wrote: Hi - I've actually comitted

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-21 Thread Joao S. O. Bueno
On 21 February 2015 at 10:35, Partha Bagchi parth...@gmail.com wrote: Hi João, What's your timeframe for modifying pygimp to use introspection? I have not yet built glib and friends with introspection because it's a pain and it's finicky. :) No idea on timeframes . Introspection as it is

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-21 Thread Joao S. O. Bueno
for compatibility reasons. Date: Sat, 21 Feb 2015 02:54:51 -0200 Subject: Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9) From: gwid...@gmail.com To: specta...@outlook.com CC: gimp-developer-list@gnome.org Hi - I've actually comitted the above method

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-20 Thread Joao S. O. Bueno
Hi Alek_ it turns out that the Python bindings for GIMP had not been updated to deal with higher precision images as of yet. Don't despair - since you had built GIMP master, this is as good time as any to get it going. :-) You can get to know the image precision (and even set it) thorugh the

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-20 Thread Joao S. O. Bueno
Hi - I've actually comitted the above method - but beware it is subject to some changes. I've added the precision read-only property to gimp-images, and the get_data method to drawables (layers and channels) - get_data returns a Python array.array object - it even features conveninent methods to

Re: [Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-20 Thread Joao S. O. Bueno
Getting there... no need to poke me for now - GIMP 2.9.1 Python Console Python 2.7.5 (default, Nov 3 2014, 14:26:24) [GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] img = gimp.image_list()[0] a = img.layers[0].get_data() len(a) 1228800 a[0:300] array('f', [0.0003035269910469651,

[Gimp-developer] Need help with Python plugin exporting to raw file (using Gimp 2.9)

2015-02-19 Thread Alek _
I'm using Gimp 2.9 experimental build, which I downloaded from partha.com, to specifically have edit ability with 16-bit per channel images. I originally posted in gimpforums.com and was told I should try here. I'm trying to write a Python plugin to export an image as a raw file (just