Split BitmapHandler::doTransform in functions: transformImageMagick(), transformCusto...