Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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.


Comment on Re: How to save the image in TIFF format by using Win32::Clipboard
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-08-30 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls