Problem Processing Multiple images with JAI.create

H

h4hrr

Hello

I am trying to process a directory with 10 image files in it and I
read individual files and input filenames to create a PlanarImage

PlanarImage img = JAI.create("fileload", filename);


which is wrong as it throws
Exception in thread "main" java.lang.IllegalArgumentException: File
not found

I tried using ParameterBlock also, but i don't seem to get it right
and its not reading the image files.

Can someone suggest some tips to perform the task of processing images
inside a directory with JAI.create..

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top