Re: gimp-item-transform-scale vs gimp-drawable-transform-scale

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

 



No needs to apologize, it's a work in progress

Another question here - is there a plugin conversion guide somewhere? I 
tried to run wavelet-sharpen plugin, compiled for 2.7, but it fails with 
2 messages:
Could not execute plug-in "wavelet-sharpen"
(/opt/gimp-2.7/lib/gimp/2.0/plug-ins/wavelet-sharpen)
because it uses an obsolete version of the plug-in protocol.

And

gimp_plug_in_handle_proc_run: ERROR

Is there an easy way to convert a source from old notation to the new 
one? I mean a list of procedures and so on that have been changed...

Michael Natterer wrote:
> On Fri, 2011-02-11 at 13:26 +0200, Alexander Rabtchevich wrote:
>> Michael Natterer wrote:
>>> On Fri, 2011-02-11 at 11:31 +0200, Alexander Rabtchevich wrote:
>>>> Hello
>>>>
>>>> I compiled current git and found gimp-drawable-transform-scale became
>>>> deprecated although it works. The proposed replacement doesn't take
>>>> scaling algorithm  as a parameter. Is it a way to a user to select
>>>> scaling algorithm anymore?
>>> It's all documented.
>>>
>>> regards,
>>> --mitch
>>>
>>>
>> Sorry, but procedure browser only says:
>> This procedure scales the specified item. If a selection exists and the
>> item is a drawable, the portion of the drawable which lies under the
>> selection is cut from the drawable and made into a floating selection
>> which is then scaled by the specified amount. The return value is the ID
>> of the scaled item. If there was no selection or the item is not a
>> drawable, this will be equal to the item ID supplied as input.
>> Otherwise, this will be the newly created and scaled drawable.
> I apologize, you are right. I apparently only added links to
> the new context functions from the new selection API.
>
> It's the new context API, e.g. gimp_context_set_interpolation().
> Will add the docs after work today.
>
> sorry,
> --mitch
>
>
With respect,
Alexander Rabtchevich
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux