How to Install and Uninstall libimage-math-constrain-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 27,2024

1. Install "libimage-math-constrain-perl" package

This is a short guide on how to install libimage-math-constrain-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libimage-math-constrain-perl

2. Uninstall "libimage-math-constrain-perl" package

This guide let you learn how to uninstall libimage-math-constrain-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libimage-math-constrain-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libimage-math-constrain-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libimage-math-constrain-perl
Architecture: all
Version: 1.02-2
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27
Depends: perl
Filename: pool/universe/libi/libimage-math-constrain-perl/libimage-math-constrain-perl_1.02-2_all.deb
Size: 9656
MD5sum: 16787c662e1c9e6906cc74eb73ce358a
SHA1: 51b72dbd266874b667c59a53398f7cb1ff8f7734
SHA256: bee59248889f1dc9a70f5ff9cce7556eadbdbca7f1dc054154661887f1c4caf5
SHA512: d50fe8b412310e4d472a0c205dbd0863384106e79e18d284976a121183a9add1f6944272ba42b459098ad8329fb23516100881ff3976d3308c1b2ab551b8a580
Homepage: https://metacpan.org/release/Image-Math-Constrain
Description-en: Perl module performing math used to constrain image sizes
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.
Description-md5: 590c5e234050c4e8eecd386c7f3618ee