调整部分CAP值类型与TWAIN官方要求一致

This commit is contained in:
lovelyyoung 2020-08-31 15:37:19 +08:00
parent 9017ea67c8
commit 695c4fe302
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ template<> struct Cap<CapType::IImageFilter> {static constexpr const Type twty =
template<> struct Cap<CapType::IImageMerge> {static constexpr const Type twty = Type::UInt16; typedef ImageMerge DataType;};
template<> struct Cap<CapType::IImageMergeHeightThreshold> {static constexpr const Type twty = Type::Fix32; typedef Fix32 DataType;};
template<> struct Cap<CapType::IJpegPixelType> {static constexpr const Type twty = Type::UInt16; typedef PixelType DataType;};
template<> struct Cap<CapType::IJpegQuality> {static constexpr const Type twty = Type::Int16; typedef JpegQuality DataType;}; // JpegQuality or 0-100
template<> struct Cap<CapType::IJpegQuality> {static constexpr const Type twty = Type::UInt16; typedef JpegQuality DataType;}; // JpegQuality or 0-100
template<> struct Cap<CapType::IJpegSubSampling> {static constexpr const Type twty = Type::UInt16; typedef JpegSubSampling DataType;};
template<> struct Cap<CapType::ILampState> {static constexpr const Type twty = Type::Bool; typedef Bool DataType;};
template<> struct Cap<CapType::ILightPath> {static constexpr const Type twty = Type::UInt16; typedef LightPath DataType;};