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
5 #ifndef _C_IMAGE_WRITER_JPG_H_INCLUDED__
\r
6 #define _C_IMAGE_WRITER_JPG_H_INCLUDED__
\r
8 #include "IrrCompileConfig.h"
\r
10 #ifdef _IRR_COMPILE_WITH_JPG_WRITER_
\r
12 #include "IImageWriter.h"
\r
19 class CImageWriterJPG : public IImageWriter
\r
25 //! return true if this writer can write a file with the given extension
\r
26 virtual bool isAWriteableFileExtension(const io::path& filename) const _IRR_OVERRIDE_;
\r
28 //! write image to file
\r
29 virtual bool writeImage(io::IWriteFile *file, IImage *image, u32 param) const _IRR_OVERRIDE_;
\r
35 #endif // _C_IMAGE_WRITER_JPG_H_INCLUDED__
\r