Re: [Gimp-developer] liquid rescale plugin



El 4/6/20 a las 16:29, Helmut Jarausch escribió:
> On 06/03/2020 07:40:03 PM, jEsuSdA 8) wrote:
>> Hi!
>>
>> Since long time ago I have been using the lqr (liquid rescale) plugin.
>>
>> As a web and graphical designer it is very useful to adjust any kind of
>> image to fits it into several design.
>>
>>
>> I noticed the plugin does not work anymore with Gimp 2.10.
>>
>> And I want ask you if there is any other way to do the same action. Is
>> there any other built-in or working plugin for doing liquid rescaling?
>>
>
> I've just recompiled gimp-lqr version 0.7.2 with a tiny patch - see below.
> It runs without error in GIMP GIT. I have no experience with it, so I
> cannot
> tell if works correct.
>
> Helmut
>
> Needed patch:
>
>   --- a/src/interface_I.c.ORIG    2020-06-04 14:10:54.237033228 +0200
> +++ b/src/interface_I.c    2020-06-04 14:19:20.898005308 +0200
> @@ -65,13 +65,13 @@
>
>   gint dialog_I_response = GTK_RESPONSE_OK;
>
> -PlugInUIVals *ui_state;
> -PlugInVals *state;
> -PlugInDialogVals *dialog_state;
> -gboolean features_are_sensitive;
> +extern PlugInUIVals *ui_state;
> +extern PlugInVals *state;
> +extern PlugInDialogVals *dialog_state;
> +extern gboolean features_are_sensitive;
>   InterfaceIData interface_I_data;
>
> -GtkWidget *dlg;
> +extern GtkWidget *dlg;
>   GtkWidget *coordinates;
>
>   gulong size_changed = 0;
> --- a/src/interface_aux.c.ORIG    2020-06-04 14:10:54.237033228 +0200
> +++ b/src/interface_aux.c    2020-06-04 14:21:52.512996954 +0200
> @@ -48,11 +48,11 @@
>
>   gint dialog_aux_response = GTK_RESPONSE_OK;
>
> -PlugInUIVals *ui_state;
> -PlugInVals *state;
> -PlugInDialogVals *dialog_state;
> +extern PlugInUIVals *ui_state;
> +extern PlugInVals *state;
> +extern PlugInDialogVals *dialog_state;
>
> -GtkWidget *dlg;
> +extern GtkWidget *dlg;
>
>   /***  Public functions  ***/
>


El 4/6/20 a las 17:02, Lloyd Konneker via gimp-developer-list escribió:
> Possibly liquid rescale plugin will work now.  If you look at the github
> repository for the plugin, you can see that a bug was fixed recently.
> Maybe you just need to download a recent version. If you say exactly what > version of Gimp you are using, and where you downloaded the plugin, others
> might be able to help resolve whether there is any version of the plugin
> that works.





Thank all of you!

I tested the github sources (I found it thanks to Lloyd) and the patch sent by Helmut and both of them works fine.

Test:
https://pasteall.org/media/4/e/4ebb1a2e53dd46a8dadac038f3e6b48b.png


Thanks a lot!
This is a "Gimp Must have" that really helps me to make my job more easy.


As a suggestion, please, consider to add this plugin to gimp as a default tool. Users will be very grateful and happy!!


Cheers!! ;)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]