e8fbf39f88
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
33 lines
883 B
C++
33 lines
883 B
C++
/*************************************************/
|
|
/* image_loader_jpg.h */
|
|
/*************************************************/
|
|
/* This file is part of: */
|
|
/* GODOT ENGINE */
|
|
/*************************************************/
|
|
/* Source code within this file is: */
|
|
/* (c) 2007-2016 Juan Linietsky, Ariel Manzur */
|
|
/* All Rights Reserved. */
|
|
/*************************************************/
|
|
|
|
#ifndef IMAGE_LOADER_JPG_H
|
|
#define IMAGE_LOADER_JPG_H
|
|
|
|
#include "io/image_loader.h"
|
|
|
|
/**
|
|
@author Juan Linietsky <reduzio@gmail.com>
|
|
*/
|
|
class ImageLoaderJPG : public ImageFormatLoader {
|
|
|
|
|
|
public:
|
|
|
|
virtual Error load_image(Image *p_image,FileAccess *f);
|
|
virtual void get_recognized_extensions(List<String> *p_extensions) const;
|
|
ImageLoaderJPG();
|
|
};
|
|
|
|
|
|
|
|
#endif
|