http://qs321.pair.com?node_id=21763

Item Description:

Review Synopsis:

Gimp.pm was written by Marc Lehmann


Gimp.pm provides Perl interface to all aspects of the GNU Image Manipulation Program. This provides not only for writing GIMP filters, plugins, and extensions, but also for network access to the GIMP.

There are no programming tasks that I enjoy more than those involving Gimp. Whether I'm just writing a one-off thumbnail program on STDIN, or generating dynamic images and special effects, there is nothing that is as flexible.

It does still have a way to go before it is ready for primetime, however. One example is that it is not fully compatible with the strict pragma, generating lots of warnings. Running scripts from apache, this needlessly pollutes the web logs.

The version of Gimp.pm being packaged with the latest GIMP distribution has a number of bugs. One is that Gimp::init() doesn't work as advertised. This forces the use of a callback, that can't return anything. The older versions had cleaner implementations of this feature.

Another bug is that a GIF format file with layer data outside the image borders will cause a GIMP crash, instead of being cropped. This is not consistent with the behavior of the normal GIMP UI.

In addition, the manual has sections marked as "outdated," pointing to other areas of the documentation that don't cover everything marked as outdated. The source is available, but reading it it becomes obvious that the author's primary language is C. I have nothing against C, but in this case I think better documentation is called for.

UPDATE: As of version 1.2, everything is working great excepting the documentation.

Replies are listed 'Best First'.
Re: Gimp
by jdporter (Paladin) on Dec 30, 2006 at 17:07 UTC

    It would be nice if module reviews included links to the modules in question.

    Gimp

Re: Gimp
by etj (Deacon) on Aug 17, 2014 at 23:40 UTC
    Time passes...

    There is a new release of Gimp-Perl out. Key features:

    • Works on GIMP 2.8.10
    • Includes plugin registry browser
    • Includes Perl console
Re: Gimp
by etj (Deacon) on Nov 21, 2021 at 22:08 UTC
    Version 2.35, released Sep 2021, works on GIMP 2.10.
Re: Gimp
by PetaMem (Priest) on Dec 30, 2006 at 16:27 UTC
    As of Version 2.2.pre1 it doesn't fly anywhere:
    Error: 'pdl *' not in typemap in Lib.xs, line 1993
    Error: 'pdl *' not in typemap in Lib.xs, line 2005
    Error: 'pdl *' not in typemap in Lib.xs, line 2017
    Error: 'pdl *' not in typemap in Lib.xs, line 2030
    Error: 'pdl *' not in typemap in Lib.xs, line 2035
    Error: 'pdl *' not in typemap in Lib.xs, line 2045
    Error: 'pdl *' not in typemap in Lib.xs, line 2055
    Error: 'pdl *' not in typemap in Lib.xs, line 2065
    Error: 'pdl *' not in typemap in Lib.xs, line 2075
    Error: 'pdl *' not in typemap in Lib.xs, line 2117
    

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

      Hi,
      had the same problem on Suse10.3 installation when I wanted to install Gimp-perl via cpan shell:
      cpan> install SJBURGES/Gimp-2.2pre1.tar.gz
      In my case problem was resolved after I installed gimp-devel and gtk2-devel rpm package. Then I could successfully apply the above mentioned command.