Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to save the image in TIFF format by using Win32::Clipboard

by lutok (Scribe)
on Feb 16, 2012 at 11:35 UTC ( [id://954199]=note: print w/replies, xml ) Need Help??


in reply to How to save the image in TIFF format by using Win32::Clipboard

Yes, you want to use ImageMagick http://www.imagemagick.org/script/perl-magick.php
You can use it stand alone with its convert function as in:

convert mylogo.bmp mylogo.jpg
or in a script along the lines of:
#!/usr/local/bin/perl use Image::Magick; my($image, $x); $image = Image::Magick->new; $x = $image->Read('girl.png', 'logo.png', 'rose.png'); warn "$x" if "$x"; $x = $image->Crop(geometry=>'100x100+100+100'); warn "$x" if "$x"; $x = $image->Write('x.png'); warn "$x" if "$x";

Just save it in whatever format you want.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://954199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-24 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found