| 1 | // Aseprite Document Library
|
| 2 | // Copyright (c) 2019 Igara Studio S.A.
|
| 3 | // Copyright (c) 2001-2014 David Capello
|
| 4 | //
|
| 5 | // This file is released under the terms of the MIT license.
|
| 6 | // Read LICENSE.txt for more information.
|
| 7 |
|
| 8 | #ifndef DOC_PIXEL_FORMAT_H_INCLUDED
|
| 9 | #define DOC_PIXEL_FORMAT_H_INCLUDED
|
| 10 | #pragma once
|
| 11 |
|
| 12 | namespace doc {
|
| 13 |
|
| 14 | enum PixelFormat {
|
| 15 | IMAGE_RGB, // 32bpp see doc::rgba()
|
| 16 | IMAGE_GRAYSCALE, // 16bpp see doc::graya()
|
| 17 | IMAGE_INDEXED, // 8bpp
|
| 18 | IMAGE_BITMAP, // 1bpp
|
| 19 | IMAGE_TILEMAP, // 32bpp see doc::tile()
|
| 20 | };
|
| 21 |
|
| 22 | } // namespace doc
|
| 23 |
|
| 24 | #endif
|
| 25 | |