![]() ![]() I am pasting here the errors that I got.Įrror: One factory fails for the operation "awtImage" I am totally confused as I am new to this JAI. But on execution it is showing a lot of errors. I reinstalled the packeage and now my ocde is compiling correctly. I copied the jai jar file to the CLASSPATH, then also it is not detecting the package. JAI.create("encode", image, stream, "tiff") īut it is showing the following compilation errors: PlanarImage image = JAI.create("awtImage", pb,null) īyteArrayOutputStream stream = new ByteArrayOutputStream() ParameterBlock pb = new ParameterBlock() I downloaded and installed the JAI package in my PC and used the following code: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |