Removed unrequired save_as_jpeg in image_util.hpp
This commit is contained in:
parent
7a16ebe7fa
commit
2379c396c3
1 changed files with 0 additions and 7 deletions
|
@ -114,13 +114,6 @@ void save_as_png(T const& image,
|
||||||
std::string const& filename,
|
std::string const& filename,
|
||||||
rgba_palette const& palette);
|
rgba_palette const& palette);
|
||||||
|
|
||||||
#if defined(HAVE_JPEG)
|
|
||||||
template <typename T>
|
|
||||||
void save_as_jpeg(std::string const& filename,
|
|
||||||
int quality,
|
|
||||||
T const& image);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
inline bool is_png(std::string const& filename)
|
inline bool is_png(std::string const& filename)
|
||||||
{
|
{
|
||||||
return boost::algorithm::iends_with(filename,std::string(".png"));
|
return boost::algorithm::iends_with(filename,std::string(".png"));
|
||||||
|
|
Loading…
Reference in a new issue