Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954199]
help
Chatterbox?
[karlgoethebier]: Confusing "Bembel" with "Membel" might result in a slap in the face in Hesse...
[karlgoethebier]: shmem: Yes. Greetings from Dr. Freud
[Discipulus]: blue pain is a synōnymía
[karlgoethebier]: Discipulus: Just a typo in this case ;-)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-05-24 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?