# CCRenderTextureImageFormat Constants Reference

Declared in | CCRenderTexture.h

### CCRenderTextureImageFormat

Image format when saving render textures

#### Definition

`typedef NS_ENUM(NSInteger, CCRenderTextureImageFormat ) {
CCRenderTextureImageFormatJPEG = 0,
CCRenderTextureImageFormatPNG = 1,
};`

#### Constants

`CCRenderTextureImageFormatJPEG`

  Image will be saved as JPEG

  Declared In `CCRenderTexture.h`.

`CCRenderTextureImageFormatPNG`

  Image will be saved as PNG

  Declared In `CCRenderTexture.h`.

#### Declared In

`CCRenderTexture.h`