Versions in this module Expand all Collapse all v1 v1.0.0 Sep 11, 2020 Changes in this version + var ATC_RGBA_EXPLICIT_ALPHA_AMD = NewATC_RGBA_EXPLICIT_ALPHA_AMD("ATC_RGBA_EXPLICIT_ALPHA_AMD") + var ATC_RGBA_INTERPOLATED_ALPHA_AMD = NewATC_RGBA_INTERPOLATED_ALPHA_AMD("ATC_RGBA_INTERPOLATED_ALPHA_AMD") + var ATC_RGB_AMD = NewATC_RGB_AMD("ATC_RGB_AMD") + var D_U16_NORM = newUncompressed(fmts.D_U16_NORM) + var ETC1_RGB_U8_NORM = NewETC1_RGB_U8_NORM("ETC1_RGB_U8_NORM") + var ETC2_RGBA_U8U8U8U1_NORM = NewETC2_RGBA_U8U8U8U1_NORM("ETC2_RGBA_U8U8U8U1_NORM") + var ETC2_RGBA_U8_NORM = NewETC2_RGBA_U8_NORM("ETC2_RGBA_U8_NORM") + var ETC2_RGB_U8_NORM = NewETC2_RGB_U8_NORM("ETC2_RGB_U8_NORM") + var ETC2_RG_S11_NORM = NewETC2_RG_S11_NORM("ETC2_RG_S11_NORM") + var ETC2_RG_U11_NORM = NewETC2_RG_U11_NORM("ETC2_RG_U11_NORM") + var ETC2_R_S11_NORM = NewETC2_R_S11_NORM("ETC2_R_S11_NORM") + var ETC2_R_U11_NORM = NewETC2_R_U11_NORM("ETC2_R_U11_NORM") + var ETC2_SRGBA_U8U8U8U1_NORM = NewETC2_SRGBA_U8U8U8U1_NORM("ETC2_SRGBA_U8U8U8U1_NORM") + var ETC2_SRGBA_U8_NORM = NewETC2_SRGBA_U8_NORM("ETC2_SRGBA_U8_NORM") + var ETC2_SRGB_U8_NORM = NewETC2_SRGB_U8_NORM("ETC2_SRGB_U8_NORM") + var ErrResizeUnsupported = fmt.Errorf("Format does not support resizing") + var Gray_U8_NORM = newUncompressed(fmts.Gray_U8_NORM) + var PNG = NewPNG("png") + var RGBA_F32 = newUncompressed(fmts.RGBA_F32) + var RGBA_U8_NORM = newUncompressed(fmts.RGBA_U8_NORM) + var RGB_U8_NORM = newUncompressed(fmts.RGB_U8_NORM) + var RGTC1_BC4_R_S8_NORM = NewRGTC1_BC4_R_S8_NORM("RGTC1_BC4_R_S8_NORM") + var RGTC1_BC4_R_U8_NORM = NewRGTC1_BC4_R_U8_NORM("RGTC1_BC4_R_U8_NORM") + var RGTC2_BC5_RG_S8_NORM = NewRGTC2_BC5_RG_S8_NORM("RGTC2_BC5_RG_S8_NORM") + var RGTC2_BC5_RG_U8_NORM = NewRGTC2_BC5_RG_U8_NORM("RGTC2_BC5_RG_U8_NORM") + var RG_S16_NORM = newUncompressed(fmts.RG_S16_NORM) + var RG_U16_NORM = newUncompressed(fmts.RG_U16_NORM) + var R_S16_NORM = newUncompressed(fmts.R_S16_NORM) + var R_U16_NORM = newUncompressed(fmts.R_U16_NORM) + var S3_DXT1_RGB = NewS3_DXT1_RGB("S3_DXT1_RGB") + var S3_DXT1_RGBA = NewS3_DXT1_RGBA("S3_DXT1_RGBA") + var S3_DXT3_RGBA = NewS3_DXT3_RGBA("S3_DXT3_RGBA") + var S3_DXT5_RGBA = NewS3_DXT5_RGBA("S3_DXT5_RGBA") + var SRGBA_U8_NORM = newUncompressed(fmts.SRGBA_U8_NORM) + var SRGB_U8_NORM = newUncompressed(fmts.SRGB_U8_NORM) + func Convert(data []byte, width, height, depth int, srcFmt, dstFmt *Format) ([]byte, error) + func Difference(a, b *Data) (float32, error) + func RegisterConverter(src, dst *Format, c Converter) + type Convertable interface + ConvertTo func(ctx context.Context, f *Format) (interface{}, error) + type Converter func(data []byte, width, height, depth int) ([]byte, error) + type Thumbnailer interface + Thumbnail func(ctx context.Context, w, h, d uint32) (*Info, error) Incompatible versions in this module v2.0.0+incompatible Jul 8, 2021