| 881 | } // Image::convertToFormatCommon |
| 882 | |
| 883 | void |
| 884 | Image::convertToFormat(const RectI & renderWindow, |
| 885 | ViewerColorSpaceEnum srcColorSpace, |
| 886 | ViewerColorSpaceEnum dstColorSpace, |
| 887 | int channelForAlpha, |
| 888 | bool copyBitmap, |
| 889 | bool requiresUnpremult, |
| 890 | Image* dstImg) const |
| 891 | { |
| 892 | // OpenGL textures are always RGBA anyway |
| 893 | assert(getStorageMode() != eStorageModeGLTex); |
| 894 | convertToFormatCommon(renderWindow, srcColorSpace, dstColorSpace, channelForAlpha, false, copyBitmap, requiresUnpremult, dstImg); |
| 895 | } // convertToFormat |
| 896 | |
| 897 | void |
| 898 | Image::convertToFormatAlpha0(const RectI & renderWindow, |
no outgoing calls
no test coverage detected