javax.imageio
rotate CGImage on disk using CGImageSource/CGImageDestination?
I\'m working on an application that needs to take a picture using UIImagePickerController, display a thumbnail of it in the app, and also submit that picture to a server using ASIFormDataRequest (from[详细]
2023-03-08 06:15 分类:问答How to resize an image without loading into memory?
I\'d like to check the dimensions of an image, and then size it down if the width exceeds a given threshold.When I load a 6MB JPEG image with ImageIO.read(), the BufferedImage allocates about 45MB of[详细]
2023-03-06 03:39 分类:问答Reading image using Javax takes a lot of memory
I\'m opening bunch of files using JFileChooser and for each image I create BufferedImage using image = ImageIO.read(path);. Where image is declared as a static field.[详细]
2023-03-06 00:30 分类:问答Javax ImageIO IIOException for apparently no reason
Hey all, I have a Java problem. For my senior research class, I\'m pretty much finished but I just have to analyze some data in images I generated. I don\'t want to tag this as homewo开发者_Go百科rk b[详细]
2023-02-26 11:02 分类:问答Why does ImageReader return incorrect BufferedImage?
I\'m trying to access a animated GIF image with 21 frames and then read the 12th (cause it starts at 0?) frame.[详细]
2023-02-26 06:43 分类:问答Java: Loading png images without indexing (as BufferedImage.TYPE_4BYTE_ABGR), using javax.imageio.ImageIO.read()
I am trying to load a PNG image using the javax.imageio.ImageIO.rea开发者_Python百科d() method.However, I want the resulting type to be \"BufferedImage.TYPE_4BYTE_ABGR\", but it ends up as an indexed[详细]
2023-02-25 18:58 分类:问答How to get image compression quality from IIOMetadata?
When saving a new image wit开发者_StackOverflow中文版h ImageIO generic ImageWriteParam supports explicit setting of compressionQuality parameter from range 0.0f (high compression) to 1.0f (high qualit[详细]
2023-02-24 06:38 分类:问答PNG Encoder - Add own filter implementation
I am currently working on my own implementation of a PNG Filter. I am using a Neural Network to try to create a better prediction than the current existing PNG Filters:[详细]
2023-02-24 06:27 分类:问答Saving colorspace in jpeg
I have a servlet to convert and cache smaller versions of photographs. It is implemented using java.awt.image + javax.imageio and a third party resample filter. The originals are all uploaded with an[详细]
2023-02-22 16:51 分类:问答UIWebView loading errors
Whenever I load a page in a UIWebView i get this error in the console ImageIO: <ERROR> _CGImagePluginInitGIFmalformed GIF file (1005 x 767)[详细]
2023-02-20 09:34 分类:问答