perl-Image-Math-Constrain-1.20.0-5-omv2015.0.noarch.rpm


Advertisement

Description

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

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: perl-Image-Math-Constrain
Package version: 1.20.0
Package release: 5-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 39.31 KB
Download size: 19.53 KB
Official Mirror: abf-downloads.openmandriva.org
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.

Alternatives

Provides

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

    Install Howto

    1. Enable OpenMandriva 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

    Files

    • /usr/lib/perl5/vendor_perl/5.20.1/Image/
    • /usr/lib/perl5/vendor_perl/5.20.1/Image/Math/Constrain.pm
    • /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
    Advertisement
    Advertisement