What I need to do is I have a input image file and I need to change it as user’s parameters. For example if user wants to make it %30 darker, first I get all pixels with their RGB values and store them in an 2D array. Sample array given below. After that I overwrite that RGB values (in our
Tag: javax.imageio
Why does “ImageIO.read(URL input)” fail on some images on Weblogic 12c?
Alright, I have a problem that is driving me crazy! I have a web application deployed on Weblogic 12.1.1 -i.e.:Weblogic 12c At some point, I want to read an image File using: The previous line fails on some images with the following so-stupid message: Some advised that I change the HTTP handler for Weblogic using the the following parameter: and
IllegalArgumentException: Numbers of source Raster bands and source color space components do not match For a color image Exception
The above answer that someone has suggest, converts my colored image to a black and white one. So it’s not appropriate for my question. here is the code and below is the image. Download the image and save in your pc. And try to run the above code with a correct value of path, it will throw an exception in