
##############
ImageInterface
##############

.. js:class:: Sc.ImageInterface

   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~Sc.ImageInterface.create`
   * :js:meth:`~Sc.ImageInterface.destroy`
   
   




Methods
=======

.. js:method:: Sc.ImageInterface.create

   .. rst-class:: sig-pretty-signature
   
      | create(**mainFormat**\ : :js:data:`ImageFormat <Sc.ImageFormat>`\ , **mainData**\ : *Uint8Array*\ , **mainHasAlpha**\ : *boolean*\ , **mainWidth**\ : *number*\ , **mainHeight**\ : *number*\ , **thumbFormat**\ : :js:data:`ImageFormat <Sc.ImageFormat>`\ , **thumbData**\ : *Uint8Array*\ , **thumbHasAlpha**\ : *boolean*\ , **thumbWidth**\ : *number*\ , **thumbHeight**\ : *number*\ ): *Promise*
   
   **Parameters**
   
      **mainFormat**\ : :js:data:`ImageFormat <Sc.ImageFormat>`
   
      **mainData**\ : *Uint8Array*
   
      **mainHasAlpha**\ : *boolean*
   
      **mainWidth**\ : *number*
   
      **mainHeight**\ : *number*
   
      **thumbFormat**\ : :js:data:`ImageFormat <Sc.ImageFormat>`
   
      **thumbData**\ : *Uint8Array*
   
      **thumbHasAlpha**\ : *boolean*
   
      **thumbWidth**\ : *number*
   
      **thumbHeight**\ : *number*
   
   
   **Returns**\ : *Promise*
   



.. js:method:: Sc.ImageInterface.destroy

   .. rst-class:: sig-pretty-signature
   
      | destroy(**imageIds**\ : :js:data:`ImageIds <Sc.ImageIds>`\ ): *Promise*
   
   **Parameters**
   
      **imageIds**\ : :js:data:`ImageIds <Sc.ImageIds>`
   
   
   **Returns**\ : *Promise*
   





