There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

Modules

Work out new dimensions for an image (or just a rectangle) when restricted in one dimension.