devxlogo

Load an Image Using the JAI API

Load an Image Using the JAI API

This tip shows you how to use the JAI API to load an image named myimage.jpg in just three lines of code:

ParameterBlock parameterBlock=new ParameterBlock();parameterBlock.add("myimage.jpg");myimage=JAI.create("fileload",parameterBlock);...

devx-admin

Share the Post: