Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

etm117's scratchpad

by etm117 (Pilgrim)
on Jul 21, 2005 at 12:01 UTC ( #476788=scratchpad: print w/replies, xml ) Need Help??

/* PerlMonks custom CSS : Pumpkin (c) 2005 Radiantmatrix [id://375088] Edited by etm117 to add back monkbar. */ body { color: #000; background-color: #ffe9ae; font-family: tahoma, sans-serif; } td { color: #000; font-family: tahoma, sans-serif; } th { background-color: #ffae00; color: #000 !important; } tr.titlebar { background-color: #ffae00; padding: 0; margin: 0; font-size: 14pt; } tr.section_title { color: #B64234; background-color: #ffae00; } td.section_title { color: #B64234; background-color: #ffae00; } tr.post_head, tr.highlight { background-color: #EDD; } td.titlebar { color: #B64234; padding-right: 8px; padding-left: 8px; } table.nodelet_container { background-color: #B64234; } a { text-decoration: none; } a:link { color: #933; border-bottom: 1px dotted #933; } a:visited { color: #363; border-bottom: 1px dotted #363; } a.titlebar:link, a.titlebar:visited { color: #FFF; } tbody.nodelet td { background-color: #ffcd63; } td.nodebody { background-color: #FFF; } tbody.nodelet th, th.nodehead { color: #B64234 !important; background-color: #ffae00; } tbody.nodelet th a:link, tbody.nodelet th a:visited { color: #000; } td.reply-new, td.reply { background-color: #ffde87; } .titlebar input { font-size: 10pt; border: 0; color: #000; } input[type=text] { font-family: monospace; background: #ffe9ae; border: 1px solid #B64234; color: #000; } textarea { width: 90%; background-color: #ffcd63; color: #b00; border: 1px solid #B64234; } p tt, li tt { font-size: 110%; color: #a00; background: #ffcd63; } .code .codetext { border: 2px dashed #700; /* border-top: 2px dashed #700; border-bottom: 2px dashed #700; */ -moz-border-radius: 0.5em; margin-left: 8px; margin-right: 8px; background: #ffcd63; color: #a00; font-size: 130%; display: block; padding: 0.25em; } .readmore { border-left: 2px dotted #733; background-color: #e0e0e0; } li { padding-bottom: 0.5em; }
Log In?

What's my password?
Create A New User
[dazz]: Hi I have grabbed an image from an IP camera with Image::Grab. I then want to pass that image object to a subroutine where I do a read-only test on the image with Image:Magick.
[dazz]: How do I pass an image object to a subroutine and then apply a Image::Magick a read-only method to the image object???
[dazz]: Also, I want to use Image::Magick to annotate and composite (not in a sub). How do I take a Image::Grab object and apply Image::Magick write methods to it??
[dazz]: At present, I am saving the Image::Grab image to disk, then creating a new Image::Magick object that reads the disk file.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-03-27 07:40 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (317 votes). Check out past polls.