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
At the bottom of the layers window there are several icons, like New
layer, Delete layer, etc.. Now, while the placeholder are still there
and are functional, the icons are gone except for duplicate and anchor.
Is there a fix or something is settings I should do?
Gerald Daniels
Senior
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
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,