libimage-math-constrain-perl - Perl module performing math used to constrain image sizes

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libimage-math-constrain-perl
Package version: 1.02
Package release: 1
Package architecture: all
Package type: deb
Installed size: 76 B
Download size: 10.36 KB
Official Mirror:
Image::Math::Constrain is a Perl module that implements all of the math behind implementing image size constraints. It allows one to restrict the dimensions of an image by checking to see if the image is larger than the desired final dimensions, and if so, provide a way to scale the image down proportionally so it fits within the constraints. It can set constraints based on width, height, or both, and is guaranteed to return dimensions that are proportional to the original -- that is, they will have the same aspect ratio. It also returns the necessary scaling factor, so you can pass it to a module to do the work.



    Source package: libimage-math-constrain-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libimage-math-constrain-perl deb package:
      # sudo apt-get install libimage-math-constrain-perl


    • /usr/share/doc/libimage-math-constrain-perl/changelog.Debian.gz
    • /usr/share/doc/libimage-math-constrain-perl/changelog.gz
    • /usr/share/doc/libimage-math-constrain-perl/copyright
    • /usr/share/man/man3/Image::Math::Constrain.3pm.gz
    • /usr/share/perl5/Image/Math/


    2009-07-19 - Jonathan Yu <> libimage-math-constrain-perl (1.02-1) unstable; urgency=low * Initial Release (Closes: #537579)