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

[Gimp-developer] Fix to the GTK_STOCK ICONS missing

2015-02-20 Thread Daniels, Gerald
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

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,