ruby-libgd
GD::Image#scale
img2
=
img
.
scale
(
w
,
h
)
Returns a new scaled image.