File: TextureSaverWebP.h

package info (click to toggle)
jazz2-native 3.5.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites:
  • size: 16,836 kB
  • sloc: cpp: 172,557; xml: 113; python: 36; makefile: 5; sh: 2
file content (30 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//#ifndef CLASS_NCINE_TEXTURESAVERWEBP
//#define CLASS_NCINE_TEXTURESAVERWEBP
//
//#include "ITextureSaver.h"
//
//namespace nCine {
//
///// WebP texture saver
//class TextureSaverWebP : public ITextureSaver
//{
//  public:
//	struct WebPProperties
//	{
//		WebPProperties()
//		    : quality(75.0f), lossless(false) {}
//
//		float quality;
//		bool lossless;
//	};
//
//	bool saveToFile(const Properties &properties, const char *filename) override;
//	bool saveToFile(const Properties &properties, std::unique_ptr<IFile> fileHandle) override;
//
//	bool saveToFile(const Properties &properties, const WebPProperties &webpProperties, const char *filename);
//	bool saveToFile(const Properties &properties, const WebPProperties &webpProperties, std::unique_ptr<IFile> fileHandle);
//};
//
//}
//
//#endif