imageResize
- TrueColorImage imageResize(MemoryImage msrcimg, int dstwdt, int dsthgt, const(char)[] filter = null, float gamma = 1.0f, float filterScale = 1.0f)
- TrueColorImage imageResize(MemoryImage msrcimg, int dstwdt, int dsthgt, int filter, float gamma = 1.0f, float filterScale = 1.0f)
- void imageResize(scope void delegate(Color[] destrow, int y) srcGetRow, scope void delegate(int y, const(Color)[] row) dstPutRow, int srcwdt, int srchgt, int dstwdt, int dsthgt, int filter = -1, float gamma = 1.0f, float filterScale = 1.0f)
arsdimage
enumsfunctionsmanifest constants
Suggestion Box / Bug Report
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).