Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > db63f5d7a7cf7e0f3b8a6fd0b5fe191a

perl-Image-Math-Constrain-1.20.0-2.mga3.noarch.rpm

Description:

There are a number of different modules and systems that constrain image
sizes, such as thumbnailing. Every one of these independantly implement the
same logic. That is, given a width and/or height constraint, they check to
see if the image is bigger than the constraint, and if so scale the image
down proportionally so that it fits withint the constraints.

Of course, they all do it slightly differnetly, and some do it better than
others.

'Image::Math::Constrain' has been created specifically to implement this
logic once, and implement it properly. Any module or script that does image
size constraining or thumbnailing should probably be using this for its
math.

Sources packages:

Other version of this rpm: