Top "Bufferedimage" questions

double-buffering in desktop GUI applications.

Convert a Graphics2D to an Image or BufferedImage

I have a little problem here. I have an applet, where user can "draw" inside it. To do that, I …

java applet bufferedimage graphics2d
How to check a uploaded file whether it is an image or other file?

In my web application I have an image uploading module. I want to check the uploaded file whether it's an …

java image servlets file-upload bufferedimage
Rotating BufferedImage instances

I am having trouble getting a rotated BufferedImage to display. I think the rotation is working just fine, but I …

java swing rotation bufferedimage graphics2d
How to save file using JFileChooser?

I have a method in my application called "Save as" which Saves the image of my application on computer my …

java swing bufferedimage jfilechooser filefilter
Converting `BufferedImage` to `Mat` in OpenCV

How can I convert a BufferedImage to a Mat in OpenCV? I'm using the JAVA wrapper for OpenCV(not JavaCV). …

java opencv bufferedimage mat
Java BufferedImage to PNG format Base64 String

I'm trying to get a screenshot output as a base64 encoded string but not getting very far. The code I …

java png base64 bufferedimage
How to convert a byte[] to a BufferedImage in Java?

I'm posting this thread because I have some difficulties to deal with pictures in Java. I would like to be …

arrays byte bufferedimage
Load Java Image inside package from a class in a different package

I have a Java project called MyProject. I have a few different packages (keeping names simple for the purpose of …

java image bufferedimage
Set BufferedImage to be a color in Java

I need to create a rectangular BufferedImage with a specified background color, draw some pattern on the background and save …

java image graphics bufferedimage graphics2d
Re-sizing an image without losing quality

I made this code to resize images with two factors. It works, but the quality of image is very bad …

java resize bufferedimage