Excellent answer davidrw!
a few replys:
- Initial code included the debug line, but it didn't tell me anything useful so I removed it to simplify the problem
- Noted :)
- I committed the sin of "editing the code for publication" and deleted the fullstop. It was a .jpg.
- The code you supplied works fine and is an excellent starting point for the problem I need to solve.
- Noted and much appreciated
This is my first venture into using Image Magick. It was in the context of showing Great GrandFather how wonderfull Perl is and how he could save so much time with a small Perl tool used to brand pictures to be put on a web site. The result wasn't quite as impressive as I'd hoped :). Honour will be regained however - thank you.
Perl is Huffman encoded by design.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.