Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libimage-math-constrain-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libimage-math-constrain-perl  ]

套件: libimage-math-constrain-perl (1.02-2)

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.

其他與 libimage-math-constrain-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libimage-math-constrain-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.4 kB27 kB [文件列表]