I used FileInputReader for read the file. and then encode it.is required to encode now?
An encoded image can't be displayed, so, no, encoding is not only not required, it is harmful, because it prevents the image from being used elsewhere.
i also used ListFiles to read the names of file in folder.
it is successful but it not shows as a image.
What is "it"? A web page? An AWT/Swing component? Is this still a version of the image that is encoded? I thought you said you were successful decoding it.