public class

ImageUtils

extends Object
java.lang.Object
   ↳ com.priint.comet.renderer.util.ImageUtils

Summary

Public Methods
static BufferedImage getBufferedImage(byte[] bytes, int imageType)
Creates a buffered image from the given byte[] using the color model provided.
static BufferedImage getBufferedImage(byte[] bytes)
This method creates a buffered image from a given byte[] using the TYPE_3BYTE_BGR color model
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static BufferedImage getBufferedImage (byte[] bytes, int imageType)

Creates a buffered image from the given byte[] using the color model provided.

Parameters
bytes bytes to be converted into BufferedImage
imageType color model, see java.awt.image.BufferedImage
Returns
  • BufferedImage

public static BufferedImage getBufferedImage (byte[] bytes)

This method creates a buffered image from a given byte[] using the TYPE_3BYTE_BGR color model

Parameters
bytes bytes to be converted into BufferedImage
Returns
  • BufferedImage