Paketname | libimage-math-constrain-perl |
Beschreibung | Perl module performing math used to constrain image sizes |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.02-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 76 Byte |
Hängt ab von | perl (>= 5.6.0-16) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 10610 Byte |
Prüfsumme MD5 | 7889e46a1f5bc6385aa1187be3d3b8fd |
Prüfsumme SHA1 | ca9e7d6916c02735f5da57e45649b5a9598a66c1 |
Prüfsumme SHA256 | ab7da5a43402feeaf68ef445d7bb675c66aca03515bc6a2bddaed48801f775f4 |
Link zum Herunterladen | libimage-math-constrain-perl_1.02-1_all.deb |
Ausführliche Beschreibung | 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.
|