| 1 |
Source: libimage-math-constrain-perl |
| 2 |
Standards-Version: 4.7.2 |
| 3 |
Maintainer: Debian Perl Group <[email protected]> |
| 4 |
Uploaders: gregor herrmann <[email protected]> |
| 5 |
Section: perl |
| 6 |
Testsuite: autopkgtest-pkg-perl |
| 7 |
Build-Depends: |
| 8 |
debhelper-compat (= 13), |
| 9 |
libmodule-install-perl, |
| 10 |
Build-Depends-Indep: |
| 11 |
libtest-cpan-meta-perl <!nocheck>, |
| 12 |
libtest-minimumversion-perl <!nocheck>, |
| 13 |
libtest-pod-perl <!nocheck>, |
| 14 |
perl, |
| 15 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libimage-math-constrain-perl |
| 16 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libimage-math-constrain-perl.git |
| 17 |
Homepage: https://metacpan.org/release/Image-Math-Constrain |
| 18 |
|
| 19 |
Package: libimage-math-constrain-perl |
| 20 |
Architecture: all |
| 21 |
Depends: |
| 22 |
${misc:Depends}, |
| 23 |
${perl:Depends}, |
| 24 |
Description: Perl module performing math used to constrain image sizes |
| 25 |
Image::Math::Constrain is a Perl module that implements all of the math behind |
| 26 |
implementing image size constraints. It allows one to restrict the dimensions |
| 27 |
of an image by checking to see if the image is larger than the desired final |
| 28 |
dimensions, and if so, provide a way to scale the image down proportionally so |
| 29 |
it fits within the constraints. It can set constraints based on width, height, |
| 30 |
or both, and is guaranteed to return dimensions that are proportional to the |
| 31 |
original -- that is, they will have the same aspect ratio. It also returns the |
| 32 |
necessary scaling factor, so you can pass it to a module to do the work. |