l regions) will be kept, if it is kept,
just 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...@o
thing, to make 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 r
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 wrote:
> On 21 February 2015 at 10:35, Partha Bagchi wrote:
>>
On 21 February 2015 at 10:35, Partha Bagchi 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 now, since GIMP
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 wrote:
> Hi -
> I've actually comitted the above method
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
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, 0.00030352
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
PDB
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 dat