org.apache.commons.imaging.common

## Class SimpleBufferedImageFactory

- java.lang.Object
- - org.apache.commons.imaging.common.SimpleBufferedImageFactory

- All Implemented Interfaces:
    BufferedImageFactory

      public class SimpleBufferedImageFactory
      extends Object
      implements BufferedImageFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleBufferedImageFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BufferedImage` | `getColorBufferedImage(int width, int height, boolean hasAlpha)`
    `BufferedImage` | `getGrayscaleBufferedImage(int width, int height, boolean hasAlpha)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleBufferedImageFactory

          public SimpleBufferedImageFactory()

  - ### Method Detail

    - #### getColorBufferedImage

          public BufferedImage getColorBufferedImage(int width,
                                                     int height,
                                                     boolean hasAlpha)

      Specified by:
        `getColorBufferedImage` in interface `BufferedImageFactory`

    - #### getGrayscaleBufferedImage

          public BufferedImage getGrayscaleBufferedImage(int width,
                                                         int height,
                                                         boolean hasAlpha)

      Specified by:
        `getGrayscaleBufferedImage` in interface `BufferedImageFactory`

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.