Re: byte[] to Image
From: Boudewijn Dijkstra (usenet_at_bdijkstra.tmfweb.nl)
Date: 05/27/04
- Next message: Chris Smith: "Re: Java Programmers FAQ Link broken?"
- Previous message: SPG: "Re: byte[] to Image"
- In reply to: anonymous_at_coolgroups.com: "byte[] to Image"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 21:48:11 +0200
<anonymous@coolgroups.com> schreef in bericht
news:4fdeced02b26f1174b5769a389982839@news.scbiz.com...
> How do I convert a byte[] to an Image object?
Use a java.awt.image.BufferedImage. The simplest would be to call
setRGB(int, int, int) on a newly created BufferedImage for every pixel in
the array.
- Next message: Chris Smith: "Re: Java Programmers FAQ Link broken?"
- Previous message: SPG: "Re: byte[] to Image"
- In reply to: anonymous_at_coolgroups.com: "byte[] to Image"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|