Java image import
What's the best Java library to use if I want to import graphics in some custom format (basically an array of bytes with a specified height, width, bytes per pixel and depth) and then work on it? Image resizing and cutting functionality would be useful if it was included. Should support saving to some lossless format too.
开发者_开发问答Ones I've found so far are too high level to import the raw data (or maybe it was hidden too deep...)
I've found SWT more than adequate. It allows images to be manipulated at the pixel level. See this article and the Image Analyzer example.
For more take a look at SWT Home
精彩评论