
###########
ImageFormat
###########

.. js:data:: ImageFormat

   Formats accepted when specifying texture images.
   
   
   Index
   =====
   
   .. rubric:: Enumeration Members
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~ImageFormat.Gray8`
   * :js:data:`~ImageFormat.GrayAlpha16`
   * :js:data:`~ImageFormat.Jpeg`
   * :js:data:`~ImageFormat.Png`
   * :js:data:`~ImageFormat.Rgb24`
   * :js:data:`~ImageFormat.Rgba32`
   
   




Enumeration Members
===================

.. js:data:: ImageFormat.Gray8

   .. rst-class:: sig-pretty-signature
   
      | Gray8: *2*
   
   Uncompressed grayscale, 1 byte per pixel
   



.. js:data:: ImageFormat.GrayAlpha16

   .. rst-class:: sig-pretty-signature
   
      | GrayAlpha16: *3*
   
   Uncompressed grayscale with alpha, 16 bits per pixel (1 byte per channel)
   



.. js:data:: ImageFormat.Jpeg

   .. rst-class:: sig-pretty-signature
   
      | Jpeg: *4*
   
   JPEG data
   



.. js:data:: ImageFormat.Png

   .. rst-class:: sig-pretty-signature
   
      | Png: *5*
   
   PNG data.
   
   Note: Currently, applying PNGs inserted through the viewer API as textures will cause objects to which they are applied to be treated as transparent, which may cause undesirable behavior. This can be avoided by setting [[TextureModifier.Decal]] in [[TextureOptions]] when applying the texture. [[TextureModifier.Decal]] is not currently supported for PBR based materials.
   



.. js:data:: ImageFormat.Rgb24

   .. rst-class:: sig-pretty-signature
   
      | Rgb24: *1*
   
   Uncompressed, interleaved RGB, 24 bits per pixel (1 byte per channel)
   



.. js:data:: ImageFormat.Rgba32

   .. rst-class:: sig-pretty-signature
   
      | Rgba32: *0*
   
   Uncompressed, interleaved RGBA, 32 bits per pixel (1 byte per channel)
   





