bufferedimage
Create a buffered image from rgb pixel values
I have an integer array of RGB pixels that looks something like: pixels[0] = <rgb-value of pixel(0,0)>[详细]
2023-02-02 16:15 分类:问答Part 2 - How do I get consistent rendering when scaling a JTextPane?
I submitted another version of this question and a sample program before: How do I get consistent rendering when scaling a JTextPane?[详细]
2023-02-02 01:11 分类:问答how can I convert an RGB image to CMYK and vice versa in Java?
our web app let users download dynamically generated images in different formats (bmp, png and jpeg). Some of our users download the images for printing, thus we would like to allow them to choose bet[详细]
2023-01-31 07:11 分类:问答Transparent BufferedImage shows with a black background while painted on a JLabel
I\'ve got a BufferedImage which is created from a png file. When creating it I set the type to be TYPE_INT_ARGB which should give me a transparent image. When I use paintComponent inside a JPanel to p[详细]
2023-01-29 07:18 分类:问答Problem converting bytes from a Bing Map request into a BufferedImage
I have very little experience with Java IO and images, and I\'ve been unsuccessful at converting an aerial image saved as a byte array into a BufferedImage.[详细]
2023-01-29 06:24 分类:问答Working in a BufferedImage's int[] pixels array
When working with BufferedImage using the setRGB and getRGB methods, I noticed two things: the setRGB开发者_开发问答 and getRGB methods can be incredibly slow on some systems (as much as two orders[详细]
2023-01-28 14:24 分类:问答How to cast/convert a BufferedImage into an Image?
I would like to convert a BufferedImage to an java.awt.Image. My source-image is tif so I use JAI to read it as PlanarImage:[详细]
2023-01-26 18:38 分类:问答Java check if BufferedImage is a GIF
Is it possible to d开发者_运维问答etermine if a BufferedImage (read from an URL) is a GIF image? I want to check the MIME type, not the file extension .gif.[详细]
2023-01-25 18:19 分类:问答Inputstream to BufferedImage Conversion damages the file
I am uploading some image files using servelt. I want to resize the images. I converts the source to BufferedImage using below lines.[详细]
2023-01-25 00:41 分类:问答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 image file or any other file. I am using Java in server side.[详细]
2023-01-24 16:30 分类:问答