Top "Bufferedimage" questions

double-buffering in desktop GUI applications.

Java BufferedImage getting red, green and blue individually

The getRGB() method returns a single int. How can I get individually the red, green and blue colors all as …

java bufferedimage
Using Graphics2D to overlay text on a BufferedImage and return a BufferedImage

I have checked similarly named questions, but they don't answer this use case. Basically, I was to overlay some text (…

java bufferedimage graphics2d
Java: BufferedImage to byte array and back

I see that a number of people have had a similar problem, however I'm yet to try find exactly what …

java arrays byte bufferedimage
How can I display a BufferedImage in a JFrame?

I want to display variations of the same image in the same JFrame, for example display an image in JFrame, …

java swing jframe bufferedimage
Load image from a filepath via BufferedImage

I have a problem with Java application, particular in loading a image from a location in my computer. Following this …

java image embedded-resource bufferedimage
Understanding BufferedImage.getRGB output values

I'm getting an integer value for the pixel in an image using this method: int colour = img.getRGB(x, y); …

java image-processing colors rgb bufferedimage
How do I properly load a BufferedImage in java?

Okay, so I've been trying to load a BufferedImage using this code: URL url = this.getClass().getResource("test.png"); BufferedImage …

java image loading bufferedimage
What does "& 0xff" do?

I am trying to understand the code below where b is a given integer and image is an image. I …

java bufferedimage
How do you clone a BufferedImage

I have an object which has many bufferedimages in it, I want to create a new object copying all the …

java copy clone bufferedimage
Convert BufferedImage to ImageIcon

How can I convert a BufferedImage to an ImageIcon? I can not find any documentation on this.

java swing bufferedimage imageicon image-conversion