java - JAI: Reading in 12 bit JPEG files -


I am new to Java Advanced Imaging, and I've read the first block that reached 12bit, single band, Grayscale JPEG file. I have seen that it is possible with JAI, but there is no code or suggestion about it. Can someone help me with a helpful link or short code snippet?

I am using till now, but I have not been helped on this issue.

Thank you. Je-ImageIO will register itself in Java's ImageIO API, so you should only be able to use it.

The problem with JPEG can be that there is a default JPEG reader in the Ioarristics in Java, and you can Some images may need to manually select the image IO.getImageReadersForFormatName () manually.

One more thing with more esoteric formats is that there are two implementations generally in JEEIIIIOO - libraries using a pure Java and other basic binary, so make sure that you * lib-wrapper .dll (or whatever is suitable for your specific OS) are included in LD_LiBRARY_PATH or in the working directory of your program. The basic implementation usually supports pure-Java one-to-one mode format formats.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -