try decodePixels