Note that this focuses more on quality than speed. You can tweak the filterScale argument to speed things up at the expense of quality though (lower number = faster).
Calculates a new size that fits inside the maximums while keeping the original aspect ratio.
Resize image. Partial gamma correction looks better on mips; set to 1.0 to disable gamma correction. Filter scale: values < 1.0 cause aliasing, but create sharper looking mips (0.75f, for example).
Get filter name. Will return null for invalid index.
Find filter index by name. Will use default filter for invalid names.
Default filter for image resampler.
Maximum image width/height for image resampler.
Number of known image resizer filters.