Files
pdf/engine/src/image/decoder/sample_decoder.hpp
T
2026-08-01 16:19:11 +05:30

18 lines
464 B
C++

#pragma once
#include <vector>
#include <cstdint>
namespace pdfengine {
class SampleDecoder {
public:
static std::vector<uint8_t> unpackSamples(const std::vector<uint8_t>& rawBytes,
int width,
int height,
int components,
int bitsPerComponent);
};
} // namespace pdfengine