marat-tanalin/integer-scaling (packagist): Calculates integer ratios and scaled-image sizes for pixel-perfect image upscaling with optional aspect-ratio correction.
Keywords: graphics|algorithms|integer-scaling|pixel-perfect-scaling|image-scaling|aspect-ratio|emulation|image-processing|library|pixel-perfect