The code has to run on UIQ so I cannot use CBufferedImageDecoder anymore. Earlier I used
CBufferedImageDecoder::OpenL(ptrData, CImageDecoder::EOptionNoDither);
but I have no idea how to pass corresponding flag to CMdaImageDescToBitmapUtility::OpenL(...) if it's possible at all. Latter is defined as
void OpenL(const TDesC8& aDescriptor,TMdaClipFormat* aFormat = NULL,TMdaPackage* aCodec = NULL,TMdaPackage* aExtra = NULL);
I should use aExtra somehow, but how?...