newtx/imgproc/algs/stretch.h

25 lines
547 B
C
Raw Normal View History

2024-01-23 09:34:20 +00:00
// 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);
2024-01-23 09:34:20 +00:00
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;
2024-01-23 09:34:20 +00:00
virtual int process(std::vector<PROCIMGINFO>& in, std::vector<PROCIMGINFO>& out) override;
};