Calculates integer ratios and scaled-image sizes for pixel-perfect image upscaling with optional aspect-ratio correction. See the project [webpage](http://tanalin.com/en/projects/integer-scaling/) for details.