The pattern descriptions I get from gimp_patterns_get_list are different 
from what I used in version 1.2. Now I am using ver 2.2 of Gimp.

The pattern descriptions I am using are like this: 't-12'. The new 
descriptions are in plain English: 'Crack', 'Paper' ...

I would need a mapping between the old descriptions and the new ones.

Thanks,
Andrei

Andrei Simion wrote:
> I checked in the procedure browser for gimp_patterns_get_list and found 
> it is not supposed to get any compulsory parameters. There is an 
> optional parameter, a regular expression string.
> 
> If the optional parameter is not provided, then no pattern is returned 
> in the array. I passed the empty string and I got the list of available 
> patterns.
> 
> I think this method is not properly documented in the procedure browser.
> 
> Andrei
> 
> Andrei Simion wrote:
>> Thanks everybody for the answers.
>>
>> Andrei
>>
>> Sven Neumann wrote:
>>> Hi,
>>>
>>> On Mon, 2008-03-10 at 22:54 -0700, Bill Skaggs wrote:
>>>
>>>> It's all at:
>>>>
>>>> http://developer.gimp.org/api/2.0/libgimp/index.html
>>> Please note that this is the API for plug-ins written in C. If you are
>>> accessing the PDB directly or by means of another language binding,
>>> there are (sometimes subtle) differences. I'd suggest to use the
>>> Procedure Browser instead. That gives you the raw procedures at least.
>>>
>>>
>>> Sven
>>>
>> _______________________________________________
>> Gimp-developer mailing list
>> Gimp-developer@lists.XCF.Berkeley.EDU
>> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>>
> 
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
> 

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to