]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/CImageWriterJPG.h
facf67d2e809dd3e81fcf15b29607c73f58cc49d
[irrlicht.git] / source / Irrlicht / CImageWriterJPG.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef _C_IMAGE_WRITER_JPG_H_INCLUDED__\r
6 #define _C_IMAGE_WRITER_JPG_H_INCLUDED__\r
7 \r
8 #include "IrrCompileConfig.h"\r
9 \r
10 #include "IImageWriter.h"\r
11 \r
12 namespace irr\r
13 {\r
14 namespace video\r
15 {\r
16 \r
17 class CImageWriterJPG : public IImageWriter\r
18 {\r
19 public:\r
20         //! constructor\r
21         CImageWriterJPG();\r
22 \r
23         //! return true if this writer can write a file with the given extension\r
24         bool isAWriteableFileExtension(const io::path& filename) const override;\r
25 \r
26         //! write image to file\r
27         bool writeImage(io::IWriteFile *file, IImage *image, u32 param) const override;\r
28 };\r
29 \r
30 }\r
31 }\r
32 \r
33 #endif // _C_IMAGE_WRITER_JPG_H_INCLUDED__\r