Re: [Gimp-developer] How to call gimp_export_image() from Pythonplugin
On 21 June 2014 18:02, Ed . ej...@hotmail.com wrote: GIO is a file access library and part of GLib. - http://wiki.gimp.org/index.php/Hacking:Porting_file_plugins_to_GEGL_and_GIO#Porting_to_GIO GIR is (GObject Introspection Repository) - http://blogs.gnome.org/johan/2008/06/01/introduction-to-gobject-introspection/ GIR is something that GIMP will fully support when someone gets around to it - currently I've volunteered to be that guy. So - that is GIR, not GIO. How far had you got? Ed -Original Message- From: Joao S. O. Bueno Sent: Friday, June 20, 2014 11:59 PM To: Vladimir Rutsky Cc: Ed . ; gimp-developer Subject: Re: [Gimp-developer] How to call gimp_export_image() from Pythonplugin What is GIO? It stands for Gobject Introspection Oforgot It is a framework to,in a more or less automated form, expose C functions and gobject based classes to various languages - including Python. The Python bindings for gtk+3.0 , ofr example, are GIO based - in this way, one does not have to re-especify every function or class one wants to expose to other languages in a manually written C (or other configuration) file. Pygimp today has C modules which have to create Python objects that mimic GIMP objects, and all manipulations of these objects are wrapped by methods exposed to Python which in turn call one of the libgimp functions. With GIO, all libgimp functions could be called directly, and what we would need is an order of magnitude simpler implementation of the objects, directly in Python. I am working on such a layer for GEGL, for example - http://github.com/jsbueno/python-gegl js ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
[Gimp-developer] Blend Tool UI
I'd like to make some incremental improvements to the blend tool. On IRC, Alexandre suggested to get the UI team involved, so I'm looking for feedback/advice from the UI team. Here are my general plans: * I'd like to make the blend tool generally more interactive. By this, I mean that after the user has created a gradient, they will be presented with handles that they can use to modify the endpoints of the gradient before committing their changes. * I'd also like to add a live preview to the blend tool so users can preview the gradient and experiment with different options, before committing their changes. * I'm also planning to add undo support within the tool. * The general consensus within the dev team seems to be that the shapebursts (all of the gradient types currently marked shaped) should be moved out of the blend tool. They would likely be moved into either a menu item, or (maybe?) within the fill tool. Any thoughts? -- drawoc ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] Blend Tool UI
On 23 June 2014 00:31, Michael Henning dra...@darkrefraction.com wrote: I'd like to make some incremental improvements to the blend tool. On IRC, Alexandre suggested to get the UI team involved, so I'm looking for feedback/advice from the UI team. Here are my general plans: * I'd like to make the blend tool generally more interactive. By this, I mean that after the user has created a gradient, they will be presented with handles that they can use to modify the endpoints of the gradient before committing their changes. I don't quite nderstand what you mean by commiting changes - as of now, gradients as all GIMP assts are all updated in realtime - You move a handle, that is the valid value for that gradient right now, for all purposes: that is, you make a move, you commit it. Having undo and redo steps on possible on the gradient window would be great, * I'd also like to add a live preview to the blend tool so users can preview the gradient and experiment with different options, before committing their changes. You mean a radial and square previews, beyond the existing linear preview? * I'm also planning to add undo support within the tool. Yes - that would be great! I guess you mean within the gradient editor dialog, not for the blending tool itself. * The general consensus within the dev team seems to be that the shapebursts (all of the gradient types currently marked shaped) should be moved out of the blend tool. They would likely be moved into either a menu item, or (maybe?) within the fill tool. Not sure. One thing they lack is more control: the offset shuldbe vaid for them - otherwise, when using these in a workflow, I think of different shaopes for the blending tool, not anything else. The fact that they currently take no advantage on the point one click, to the point one drag is more motive to improve on that, within the blending tool, than to turn then into dumb menu entries, I think. However,a shape fill tool, which could not only fill an area with a gradient, but also with a pattern (a selection copied from somewhere else) would be great. Then, gradient shapes could be aggregated there, and GIMP would finally match the feature which was present in 1986's Deluxe Paint . But again: I don't think moving it out of the blending shape options, just for ding so, is a nice idea. js -- Any thoughts? -- drawoc ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] Blend Tool UI
Hi, first of all thank you for your efforts and the posting. In general I like the ideas. On 23.6.2014 at 5:31 AM Michael Henning wrote: I'd like to make some incremental improvements to the blend tool. On IRC, Alexandre suggested to get the UI team involved, so I'm looking for feedback/advice from the UI team. The UI team sits in Berlin and is named Peter Sikking ;-) You might have luck by sending him an e-mail. Here are my general plans: * I'd like to make the blend tool generally more interactive. By this, I mean that after the user has created a gradient, they will be presented with handles that they can use to modify the endpoints of the gradient before committing their changes. * I'd also like to add a live preview to the blend tool so users can preview the gradient and experiment with different options, before committing their changes. * I'm also planning to add undo support within the tool. That's all fine! * The general consensus within the dev team seems to be that the shapebursts (all of the gradient types currently marked shaped) should be moved out of the blend tool. They would likely be moved into either a menu item, or (maybe?) within the fill tool. I only remember a conversation between you and Mitch in IRC. To get a general consensus this place seems more suitable (thank you Alex). Do you mean all shapes in the tool's options or only those whose name starts with 'Shaped'? Why should they be moved out of the Blend tool? As we are just improving this tool's interaction, there are some evaluation notes as input for our work: http://gui.gimp.org/index.php/Evaluation_Notes_-_Photo_Composing#Blend_-_Gradient_tool http://gui.gimp.org/index.php/Evaluation_Notes_-_Creating_Web_Images#Gradient_tool I could not find any specs nor at a glance any open, influencing bugs. Kind regards, Sven ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list
Re: [Gimp-developer] Blend Tool UI
On 23.6.2014 at 5:45 AM Joao S. O. Bueno wrote: However,a shape fill tool, which could not only fill an area with a gradient, but also with a pattern (a selection copied from somewhere else) would be great. Are you perhaps looking for the Bucket Fill Tool's fill type 'Pattern fill'? Its first item is a pattern from the clipboard. Or did you mean to distort the fill pattern to make it fit into the selection's shape? Kind regards, Sven ___ gimp-developer-list mailing list List address:gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list