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