| 1 | // Aseprite |
| 2 | // Copyright (C) 2001-2015 David Capello |
| 3 | // |
| 4 | // This program is distributed under the terms of |
| 5 | // the End-User License Agreement for Aseprite. |
| 6 | |
| 7 | #ifndef APP_UTIL_PIC_FILE_H_INCLUDED |
| 8 | #define APP_UTIL_PIC_FILE_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace doc { |
| 12 | class Image; |
| 13 | class Palette; |
| 14 | } |
| 15 | |
| 16 | namespace app { |
| 17 | |
| 18 | doc::Image* load_pic_file(const char* filename, int *x, int *y, doc::Palette** palette); |
| 19 | int save_pic_file(const char* filename, int x, int y, const doc::Palette* palette, const doc::Image* image); |
| 20 | |
| 21 | } // namespace app |
| 22 | |
| 23 | #endif |
| 24 | |