Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I used and liked using the GIMP with Perl about a year or so ago. GIMP has a perl server and lets you do lots of photoshop-type things from perl. I used a simple interactive command line shell (using readline, I think I based it on something called pgshell) to test things and then after editting the command history put the commands into perl subroutines.

This, plus programming navigation rules and creating templates, enabled me (after a week or two) to build a thousand page site with a thousand photos, highlighting thumbnails laid out in a circular fashion, and lots of subsection links, in approximately 10 minutes of 100% CPU. Maybe two thirds of that time was spent watching The GIMP go crazy opening and closing windows, resizing them, etc.; the remaining time was used to generate the pages themselves (since we had were not able to use perl online actually).

Some interesting bits were being able to resize an image along its long axis and composite a frame using alpha channel masking. The best thing of all of course was when I got told that a bunch of photos would change. This would have been impossible to do in the time available considering everything that would have to be changed, with my "Magic Hands" Gimp compositing system it was easy. Anyway you may be interested to see what is possible even if it turns out too heavy for your project.

I did find some difficulty actually reading photoshop files sometimes, but this was many versions ago. There is a Film-Gimp project where it is used for filmmaking, you may find that useful too. I think there may be a way to run it from the command line, but don't know if you can get the perl server to launch.


In reply to Re: Manipulating Graphics with Perl .. Image Magick Vs GD by mattr
in thread Manipulating Graphics with Perl .. Image Magick Vs GD by Hagbone

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 imbibing at the Monastery: (5)
    As of 2020-08-10 12:05 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Which rocket would you take to Mars?










      Results (57 votes). Check out past polls.

      Notices?