javax.imageio
Convert a 2D array of int ranging from 0-256 into a grayscale png?
How can I convert a 2D array of ints into a grayscale png. right now I have this: BufferedImage theImage = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB);[详细]
2023-02-19 15:22 分类:问答ImageIO.createImageInputStream Keeps Returning null
Hey all, Whenever I try to get an ImageInputStream object using ImageIO.createImageInputStream it simply returns null with no exceptions, warnings or errors. I have tried passing different data types[详细]
2023-02-13 11:59 分类:问答what is this error im ImageIO class in java (android)?
the error is : 02-22 22:58:11.208: ERROR/AndroidRuntime(498): FATAL EXCEPTION: main 02-22 22:58:11.208: ERROR/AndroidRuntime(498): java.lang.NoClassDefFoundError: javax.imageio.ImageIO[详细]
2023-02-12 13:42 分类:问答Java apache commons FTP, how to download image file to BufferedImage
So I am trying to download an image file from an FTP site, get some meta data from it, and then return the binary data to a web page using the Play! Framework. Here is the basic code i am using inside[详细]
2023-02-07 03:36 分类:问答Create bitmap or image row by row? or create bitmap/image from 2D array in Java
This amounts to a pretty basic programming question, but essentially I am creating an array of 1s and 0s that I want to represent a single row of black (1) or white (0) pixels. Here is the code I have[详细]
2023-02-05 15:56 分类:问答How do you get the dateTaken using imageIO (JPEG)?
Does anyone know how to extract the date a jpeg image was taken/c开发者_运维技巧reate from the jpeg meta data using imageio? This package should help you extract the metadata you need.[详细]
2023-02-04 18:21 分类:问答Applet not creating image file via ImageIO.write
I have been struggling with an issue involving a Processing sketch which I want to use to create an image file (to a server-side directory).In the Java, I use a PImage of the canvas, converted to a Bu[详细]
2023-02-04 13:46 分类:问答Why does loading this jpg using JavaIO give CMMException?
ImageIO.read(imagePath) with this file gives a CMMException, why cant Java cope with this seemingly valid file http://www.jthink.net/jaikoz/scr开发者_如何学运维atch/front.jpg[详细]
2023-01-31 15:55 分类:问答how do i detect a multi-layered psd file using imageIO.framework?
i don\'t want to extract or use the multi-layer information, i want to report to the user that it can\'t be imported. i\'m creating specific-sized jpgs from imported files, and the user needs to decid[详细]
2023-01-30 09:32 分类:问答problem with saving image i get Zero kb
I\'m having a problem, when I save my image I can\'t open it because it\'s empty and the size is zero kb. I\'m reading the image from a folder and then I change the size to 100x100 and save it but it\[详细]
2023-01-22 18:10 分类:问答