16 lines
390 B
C++
16 lines
390 B
C++
#pragma once
|
|
|
|
#include <pdfengine/image_geometry.hpp>
|
|
#include <pdfengine/image_descriptor.hpp>
|
|
#include <string>
|
|
|
|
namespace pdfengine {
|
|
|
|
class ImageValidator {
|
|
public:
|
|
static bool validate(const ImageGeometry& geometry, std::string* outError = nullptr);
|
|
static bool validate(const ResolvedImageDescriptor& descriptor, std::string* outError = nullptr);
|
|
};
|
|
|
|
} // namespace pdfengine
|