Aspose::Pdf::Comparison::ImagesDifference::DifferenceToImage method

ImagesDifference::DifferenceToImage method

Converts the difference array to a bitmap image using the specified colors.

System::SharedPtr<System::Drawing::Bitmap> Aspose::Pdf::Comparison::ImagesDifference::DifferenceToImage(const System::SharedPtr<Color> &color, const System::SharedPtr<Color> &backgroundColor)
ParameterTypeDescription
colorconst System::SharedPtr<Color>&The color for non-zero differences.
backgroundColorconst System::SharedPtr<Color>&The background color for zero differences.

ReturnValue

A bitmap image representing the difference array.

See Also