Class PromotionRGB24


public class PromotionRGB24 extends ImageToImageOperation
Converts several image types to RGB. Promoting is a lossless operation that will only lead to an output image that holds the same image in a way that demands more memory.

If you give an image implementing RGB24Image to this operation, a WrongParameterException will be thrown. This operation could also return the input image, but this might lead to the wrong impression that a copy of the input was produced which can be modified without changing the original.

Author:
Marco Schmidt