[Gimp-developer] Difference between GIMP_PLUGIN and GIMP_EXTENSION

2012-04-23 Thread Alessandro Francesconi
Hello, what's the conceptual difference between GIMP_PLUGIN and GIMP_EXTENSION types? When a "plugin" must be defined as an extension? Thanks ___ gimp-developer-list mailing list gimp-developer-list@gnome.org http://mail.gnome.org/mailman/listinfo/gim

[Gimp-developer] Error when calling gimp_file_load() from concurrent thread

2012-07-14 Thread Alessandro Francesconi
Hello, I'm the author of BIMP, Batch Image Manipulation Plugin (http://www.alessandrofrancesconi.it/projects/bimp/) and I'm extending this tool with the possibility to stop the whole batch process by clicking on a GTK button. For that I'm enabling a multi threading functionality. In few words,

Re: [Gimp-developer] Error when calling gimp_file_load() from concurrent thread

2012-07-15 Thread Alessandro Francesconi
On 14/07/2012 22:01, Michael Natterer wrote: On Sat, 2012-07-14 at 21:15 +0200, Alessandro Francesconi wrote: Hello, I'm the author of BIMP, Batch Image Manipulation Plugin (http://www.alessandrofrancesconi.it/projects/bimp/) and I'm extending this tool with the possibility to stop

Re: [Gimp-developer] Error when calling gimp_file_load() from concurrent thread

2012-07-15 Thread Alessandro Francesconi
On 14/07/2012 22:01, Michael Natterer wrote: On Sat, 2012-07-14 at 21:15 +0200, Alessandro Francesconi wrote: Hello, I'm the author of BIMP, Batch Image Manipulation Plugin (http://www.alessandrofrancesconi.it/projects/bimp/) and I'm extending this tool with the possibility to stop

[Gimp-developer] Implementing gettext localization into GIMP plugin

2012-10-13 Thread Alessandro Francesconi
Hello everyone, I’m trying to add l18n support into a widely used plugin for GIMP. In few words, I followed the former way to add localization support using gettext, that’s the same system used by GIMP’s core. So, I’ve converted all my localizable strings into _(”string-id”), then I’ve added

[Gimp-developer] How to deal with pixel-per-pixel operations?

2013-06-10 Thread Alessandro Francesconi
Hello, I'm starting to write a GIMP plugin and I'm facing the problem of "pixel-per-pixel" algorithms and their speed. Without going on details, my algorithm should take every pixel in the image and for each one it must check its 24 neighbours, it does some simple calcs and finally it set a new

Re: [Gimp-developer] How to deal with pixel-per-pixel operations?

2013-06-11 Thread Alessandro Francesconi
for the image manipulation phase? Where to find a documentation about those ’GeglOperation’ or ‘GeglBuffer’ APIs? Seems I need to learn a lot of new things... Ale Da: Øyvind Kolås Data invio: ‎martedì‎ ‎11‎ ‎giugno‎ ‎2013 ‎01‎.‎48 A: Alessandro Francesconi Cc: gimp-developer-list

[Gimp-developer] Weird question: how to retrieve a saving plugin's mime type?

2013-06-11 Thread Alessandro Francesconi
Hello, I'll try to be more precise than the title: I'm the developer of BIMP - Batch Image Manipulation Plugin for GIMP (http://www.alessandrofrancesconi.it/projects/bimp/) and I'm trying to implement a new feature. This plugin provides an interface similar to the GIMP's PDB dialog: htt

Re: [Gimp-developer] How to deal with pixel-per-pixel operations?

2013-06-11 Thread Alessandro Francesconi
Thank you so much! Ale Da: Øyvind Kolås Data invio: ‎martedì‎ ‎11‎ ‎giugno‎ ‎2013 ‎12‎.‎49 A: Alessandro Francesconi Cc: gimp-developer-list@gnome.org On Tue, Jun 11, 2013 at 11:05 AM, Alessandro Francesconi wrote: Thanks for the answer, I’m not new on GIMP plugin’s development but I’m

Re: [Gimp-developer] How to deal with pixel-per-pixel operations?

2013-06-11 Thread Alessandro Francesconi
e, 11 Jun 2013 10:53:26 + > CC: gimp-developer-list@gnome.org > Subject: Re: [Gimp-developer] How to deal with pixel-per-pixel operations? > > Thank you so much! > > > > Ale > > > > Da: Øyvind Kolås > Data invio: ‎martedì‎ ‎11‎ ‎giugno‎ ‎2013 ‎12‎

Re: [Gimp-developer] How to deal with pixel-per-pixel operations?

2013-06-11 Thread Alessandro Francesconi
mp.org; gimp-developer-list@gnome.org > Date: Tue, 11 Jun 2013 15:47:34 +0200 > > On Tue, 2013-06-11 at 14:03 +0200, Alessandro Francesconi wrote: > > Got problems here... > > > > Following the goat example, I downloaded the libgegl-dev 0.2 package (I'm > > o

[Gimp-developer] Create and add new layers in a GimpPreview widget

2013-06-30 Thread Alessandro Francesconi
Hello, my plugin performs a series of image algorithms and provides a GimpDrawablePreview widget. One of those operations works by adding a new layer to the image, I have no problems when apply it to the "real" image... but things changes if I try to show a preview of it. Basically, the algori

[Gimp-developer] API to parse a saved GIMP's curves file

2013-09-25 Thread Alessandro Francesconi
Hello, I’m developing a plugin that must read the contents of a GIMP “curves” file and build an array of points, in order to finally call the gimp_curves_spline() function:http://developer.gimp.org/api/2.0/libgimp/libgimp-gimpcolor.html#gimp-curves-spline I’m talking about the kind of file tha

[Gimp-developer] My plugin doesn't start anymore after upgrading mingw/gcc suite

2013-10-04 Thread Alessandro Francesconi
Hello everyone, This morning, on my Windows platform, I’ve decided to run a “mingw-get.exe upgrade” command in order to give a fresh update to my compiling tools. The process finished fine and the GCC version changed from 4.7.2 to 4.8.1... but I shouldn't have done it! I went to my plugin s

Re: [Gimp-developer] My plugin doesn't start anymore after upgrading mingw/gcc suite

2013-10-05 Thread Alessandro Francesconi
“invisible” to GIMP. Moreover, the plugin now crashes when queryied by GIMP at startup (http://www.alessandrofrancesconi.it/bimp-fail.jpg). My system is Windows 8 64bit, GIMP 2.6.8. Can it be related to the 64bit environment? Never had problems before. Ale Da: Alessandro Francesconi

Re: [Gimp-developer] My plugin doesn't start anymore after upgrading mingw/gcc suite

2013-10-08 Thread Alessandro Francesconi
at. You can try these instructions: > https://git.gnome.org/browse/gimp/tree/devel-docs/debug-plug-ins.txt > I forget if they work on windows. > > Anyway, good luck! > > On Sat, Oct 5, 2013 at 5:43 AM, Alessandro Francesconi > wrote: >> >> >> Anyone can g

[Gimp-developer] Enlarge image canvas with gimp_image_resize procedure

2014-02-27 Thread Alessandro Francesconi
I need to enlarge the area of an image using one of the available GIMP’s procedures. So, instead of using the GIMP’s graphical interface and this tool http://docs.gimp.org/en/gimp-image-resize.html, I want to be able to have the same effects on a C code. The function that should be called is t

Re: [Gimp-developer] Enlarge image canvas with gimp_image_resize procedure

2014-02-28 Thread Alessandro Francesconi
Ok, what’s the name of the function that grows the boundaries? Ale Da: Michael Henning Data invio: ‎venerdì‎ ‎28‎ ‎febbraio‎ ‎2014 ‎03‎:‎02 A: Alessandro Francesconi Cc: gimp-developer-list@gnome.org Are you also growing the layer boundaries? If you grow the canvas, but not the