This content has been marked as final. Show 2 replies
I can't help you but here's an exercise for you. When you get an exception you can't explain yourself, try posting it in Google. With a catch: remove anything from the error message that is specific to you like a classname or a specific value.
In this case there is nothing specific in the error message so try a search for "javax.imageio.IIOException: Metadata components != number of destination bands". One thing is for sure: you're not the first to run into this error.
Thanks, already did that before posting here, but I can't find any information (although Google now brings this question in top 3 results...)
I traced the code and see where it comes from, yet i have absolutely no idea why it happens. Strange thing is that saving the BufferedImage as JPG works!