newtx/imgproc/algs/stretch.h

25 lines
547 B
C++

// stretch CIS resolution to soft/user resolution
//
// Date: 2024-01-23
#pragma once
#include <imgprc/img_processor.h>
class stretch : public image_processor
{
uint32_t dpi_ = 200;
public:
stretch(bool weaker = false);
protected:
~stretch();
public:
virtual int set_value(const char* name/*nullptr for all options*/, void* val/*nullptr for restore*/) override;
public:
virtual image_processor* copy_weaker(void) override;
virtual int process(std::vector<PROCIMGINFO>& in, std::vector<PROCIMGINFO>& out) override;
};