Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Resizing images with transparent background?

by pobocks (Chaplain)
on Oct 14, 2010 at 01:40 UTC ( #865185=note: print w/replies, xml ) Need Help??


in reply to Resizing images with transparent background?

Alternately, if you can call out to the shell, you could use imagemagick's "convert."

system("convert", "-resize", "file.gif", "newfile.gif");

There are plenty of reasons you might not be able to or want to, but I thought I'd mention this just in case.

for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Replies are listed 'Best First'.
Re^2: Resizing images with transparent background?
by aquarium (Curate) on Oct 14, 2010 at 05:39 UTC
    like pobocks says, imagemagick is an alternative. it's a very nice alternative if you ever need to do more, e.g. composite images, many more formats, add text/borders/effects. good fun, and quick.
    the hardest line to type correctly is: stty erase ^H
      I did have reasons not to use ImageMagick, but it works damn well. And pretty simply too. It is a heavyweight though.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2022-08-09 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?