ImageResizer

Image resizer. To minimize CPU, it is advised to reuse that object for similar resize. To minimize memory allocation, it is advised to reuse that object even across different resize.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

resizeImageMaterial
alias resizeImageMaterial = resizeImageGeneric
Undocumented in source.

Functions

resizeImageCoverage
void resizeImageCoverage(ImageRef!L8 input, ImageRef!L8 output)
resizeImageDepth
void resizeImageDepth(ImageRef!L16 input, ImageRef!L16 output)
void resizeImageDepth(ImageRef!RGBA16 input, ImageRef!RGBA16 output)

Function resizes image. There are several other function for specialized treatment.

resizeImageDepthWithAlphaPremul
void resizeImageDepthWithAlphaPremul(ImageRef!RGBA16 input, ImageRef!RGBA16 output)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImageDiffuse
void resizeImageDiffuse(ImageRef!RGBA input, ImageRef!RGBA output)
resizeImageDiffuseWithAlphaPremul
void resizeImageDiffuseWithAlphaPremul(ImageRef!RGBA16 input, ImageRef!RGBA16 output)

Function resizes image. There are several other function for specialized treatment.

resizeImageGeneric
void resizeImageGeneric(ImageRef!RGBA input, ImageRef!RGBA output)
void resizeImageGeneric(ImageRef!RGBA16 input, ImageRef!RGBA16 output)
void resizeImageGeneric(ImageRef!L16 input, ImageRef!L16 output)

Function resizes image. There are several other function for specialized treatment.

resizeImageMaterialWithAlphaPremul
void resizeImageMaterialWithAlphaPremul(ImageRef!RGBA16 input, ImageRef!RGBA16 output)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImageNearest
void resizeImageNearest(ImageRef!RGBA input, ImageRef!RGBA output)
resizeImageSmoother
void resizeImageSmoother(ImageRef!RGBA input, ImageRef!RGBA output)
resizeImage_sRGBNoAlpha
void resizeImage_sRGBNoAlpha(ImageRef!RGBA input, ImageRef!RGBA output)
resizeImage_sRGBWithAlpha
void resizeImage_sRGBWithAlpha(ImageRef!RGBA input, ImageRef!RGBA output)
resizeImage_sRGBWithAlphaPremul
void resizeImage_sRGBWithAlphaPremul(ImageRef!RGBA input, ImageRef!RGBA output)

Function resizes image. There are several other function for specialized treatment.

Meta