Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
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.


In reply to Gimp by Aighearach

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (7)
    As of 2020-05-25 18:37 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      If programming languages were movie genres, Perl would be:















      Results (146 votes). Check out past polls.

      Notices?