Search:

Type: Posts; User: Json

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    41,736

    Re: How Convert a Byte array to a image format

    Well in that case we need to expand the code somewhat.




    try {
    final BufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(myByteArray));
    ...
  2. Replies
    7
    Views
    41,736

    Re: How Convert a Byte array to a image format

    It will just contain the image data, what would you like to do with the image after this?

    // Json
  3. Replies
    7
    Views
    41,736

    Re: How Convert a Byte array to a image format

    How about this.



    try {
    final BufferedImage bufferedImage = ImageIO.read(new ByteArrayInputStream(myByteArray));
    } catch (IOException e) {
    ...
Results 1 to 3 of 3