ImageInterface
- class Sc.ImageInterface()
Methods
create
- ImageInterface.create(mainFormat, mainData, mainHasAlpha[, mainWidth[, mainHeight[, thumbFormat[, thumbData[, thumbHasAlpha[, thumbWidth[, thumbHeight]]]]]]])
- Arguments
mainFormat (
ImageFormat()
) – NonemainData (
Uint8Array()
) – NonemainHasAlpha (
boolean()
) – NonemainWidth (
number()
) – optional NonemainHeight (
number()
) – optional NonethumbFormat (
ImageFormat()
) – optional NonethumbData (
Uint8Array()
) – optional NonethumbHasAlpha (
boolean()
) – optional NonethumbWidth (
number()
) – optional NonethumbHeight (
number()
) – optional None
- Return type
Promise <ImageId>
destroy
- ImageInterface.destroy(imageIds)
- Arguments
imageIds (
ImageIds()
) – None
- Return type
Promise <void>