public Save ( string destination, ImageEngineFormat format, MipHandling GenerateMips, int desiredMaxDimension, int mipToSave, bool removeAlpha = true, List |
||
destination | string | File to save to. |
format | ImageEngineFormat | Desired image format. |
GenerateMips | MipHandling | Determines how mipmaps are handled during saving. |
desiredMaxDimension | int | Maximum size for saved image. Resizes if required, but uses mipmaps if available. |
mipToSave | int | Index of mipmap to save as single image. |
removeAlpha | bool | True = Alpha removed. False = Uses threshold value and alpha values to mask RGB FOR DXT1 ONLY, otherwise removes completely. |
customMasks | List |
Custom user defined masks for colours. |
return | System.Threading.Tasks.Task |