19 #ifndef CONVERTPIXELFORMAT_H
20 #define CONVERTPIXELFORMAT_H
22 #include "ImageOperation.hpp"
23 #include "ImageBuffer.hpp"
25 namespace FotoSHOCKcore {
31 virtual const char*
name() {
return "Pixel format Conversion";}
32 virtual const char*
description() {
return "Converts the format of an image.";}
38 cmsUInt32Number m_intent;
45 void intent(cmsUInt32Number intent);
49 cmsUInt32Number m_intent;
51 template<ValueType::Enum SrcFormat>
52 void selectDestPixelFormat(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);
53 template<ValueType::Enum SrcFormat, ValueType::Enum DestFormat>
54 void convertPixelFormat(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);
56 template<ValueType::Enum SrcFormat, ValueType::Enum DestFormat>
57 void convertValueType(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);
58 template<ValueType::Enum SrcFormat, ValueType::Enum DestFormat>
59 void convertColorSpace(
MipMap* src,
MipMap* dest, vector<UpdateInfo>& ROI,
const long stamp);