perl-Image-Math-Constrain - Scaling math used in image size constraining (such

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-Image-Math-Constrain
Package version: 1.20.0
Package release: 5-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 39.31 KB
Download size: 19.58 KB
Official Mirror:
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.


  • perl(Image::Math::Constrain) == 1.20.0
  • perl-Image-Math-Constrain == 1.20.0-5:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Image-Math-Constrain rpm package:
      # urpmi perl-Image-Math-Constrain


    • /usr/lib/perl5/vendor_perl/5.18.2/Image/
    • /usr/lib/perl5/vendor_perl/5.18.2/Image/Math/
    • /usr/share/doc/perl-Image-Math-Constrain/Changes
    • /usr/share/doc/perl-Image-Math-Constrain/LICENSE
    • /usr/share/doc/perl-Image-Math-Constrain/README
    • /usr/share/man/man3/Image::Math::Constrain.3pm.xz


    2014-07-25 - Denis Silakov <> 1.20.0-5 + Revision: e69f34f - MassBuild#464: Increase release tag