Converts BufferedImage to internal representation (pixel data is copied). It's best to use BufferedImage in RGB/RGBA format backed by DataBufferByte. Throws if conversion fails.
(BufferedImage image)
| 14 | * Throws if conversion fails. |
| 15 | */ |
| 16 | public Image(BufferedImage image) throws PngQuantException { |
| 17 | this(new PngQuant(), image); |
| 18 | } |
| 19 | |
| 20 | public Image(PngQuant attr, BufferedImage image) throws PngQuantException { |
| 21 | handle = handleFromImage(attr, image); |
nothing calls this directly
no test coverage detected