Top "Javax.imageio" questions

The Java Image I/O API (the javax.

Java - get pixel array from image

I'm looking for the fastest way to get pixel data (int the form int[][]) from a BufferedImage. My goal is …

java bufferedimage javax.imageio
How to get image height and width using java?

Is there any other way besides using ImageIO.read to get image height and width? Because I encounter an issue …

java javax.imageio
How to return a PNG image from Jersey REST service method to the browser

I have a web server running with Jersey REST resources up and I wonder how to get an image/png …

java image glassfish jersey javax.imageio
Unable to read JPEG image using ImageIO.read(File file)

I'm having problems reading this one JPEG file using ImageIO.read(File file) - it throws an exception with the …

java image jpeg javax.imageio
How to send images through sockets in java?

I am writing a client-server program and I want that to send an image. The code is the following: //RECEIVER …

java image sockets client-server javax.imageio
Turn an array of pixels into an Image object with Java's ImageIO?

I'm currently turning an array of pixel values (originally created with a java.awt.image.PixelGrabber object) into an Image …

java image awt toolkit javax.imageio
Can't read and write a TIFF image file using Java ImageIO standard library

I don't know what to do with TIFF images, but I can't read or write any of them using straight …

java tiff javax.imageio
ImageIO can't read input file

public static void imRes(String pat) { try { BufferedImage bckimg = ImageIO.read(new File("c:/s/deneme.jpg")); File s = new …

java eclipse javax.imageio
Setting jpg compression level with ImageIO in Java

I'm using javax.imageio.ImageIO to save a BufferedImage as a jpeg file. In particular, I created the following Java …

java jpeg image-compression javax.imageio
Convert and display image from byte array

I'm making a program, which gets data about an image in byte array from a server. I'm converting this data …

java image swing javax.imageio