21 lines
397 B
C++
21 lines
397 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include <pdfengine/image_descriptor.hpp>
|
||
|
|
#include <pdfengine/image_pixel_buffer.hpp>
|
||
|
|
#include <memory>
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
namespace pdfengine {
|
||
|
|
|
||
|
|
class ImageDecoder {
|
||
|
|
public:
|
||
|
|
static ImagePixelBuffer decode(const ResolvedImageDescriptor& descriptor);
|
||
|
|
};
|
||
|
|
|
||
|
|
class ImageDecoderFactory {
|
||
|
|
public:
|
||
|
|
static bool isSupported(const std::string& filterName);
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace pdfengine
|