Forum Wiki Galerie Kontakt Wie man Fragen richtig stellt. Tutorial Forum
Zurück   GIMP-Forum 3.0 > RSS-Feeds > GIMP

Hinweise
Alt 02.11.2010, 20:20   #1
Wilber
RSS-Feed-Bot
 
Registriert seit: 27.05.2008
Beiträge: 1.677
Standard [GIMP Registry] - GAL v1.0.6



Current GAL version: 1.0.6 (November 2 2010).

Current compatibility level: GIMP 2.6.11 - GIMP 2.7.2 (10.30.2010 GIT build).

GAL (Gimp Abstraction Layer) - it is an additioan compatibility layer which provides API to create Script-Fu extenstions which will work properly on GIMP 2.6 and GIMP 2.7/2.8 simultaneously.

If you don't want to support two development branches at the same time or you don't need to GIMP 2.8 extra features for now, then GAL may be right choise. GAL contains 35 API independent procedures and some specials functions and variables to provide GAL integration.

GAL procedures are completely compatible with old GIMP 2.6 procedures (they has equal amount of arguments) but take names from new GIMP 2.8 procedures (gal-item-delete for example). All procedures of GAL are registred in GIMP PDB (but with wrong variables types). Also GAL has own API revision (first digit in version number) Trully GAL is a temporary measure so replacing "gal" by "gimp" drop out GAL from your script.

There are three ways to implements GAL:

1) Simple dynamic linking - just replace old GIMP procedures by GAL procedures and all should be work. But if API will changed your script may fall.

2) Dynamic linking with API checking - simular with first but you also should add special function for checking GAL API presense and its proper integration (see attachments below).

3) Code transfer - GAL has no any license, so you may do whatever you want even copy-paste some procedures into your script. But if you do that, then, please, replace "gal" procedure prefix to something else (your nickname perhabs). This should prevent conflicts.

List of all GAL procedures is included in source file (check header comments).

If you find error or you have some proposition, let me know.

AttachmentSize gal_v1.0.6_pub.scm36.48 KB gal_check_pub.scm1.1 KB

Weiterlesen...
Wilber ist offline   Mit Zitat antworten
 

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.

Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
[GIMP Registry] - Simple Door Hanger Template script Wilber GIMP 0 19.03.2010 04:20
[GIMP Registry] - Inspect Wilber GIMP 0 17.03.2010 15:30
[GIMP Registry] - Shape It - Win32 binary Wilber GIMP 0 16.03.2010 10:20
[GIMP Registry] - Cyanotype Script Wilber GIMP 0 16.03.2010 00:50
[GIMP Registry] - Rainy Landscape Script Wilber GIMP 0 16.03.2010 00:10


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:06 Uhr.


Powered by vBulletin® Version 3.8.2 (Deutsch)
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.