When trying to read images from database, I was able to read few images and display in IE using JAI. (i.e) images are stored as varbinary in DB. Using inputstream I read the data and write it to a tiff file and convert it jpg for displaying it in the IE.
few images were not getting displayed(the hexa value for those image starts with 0X494c). in DB there are images with TIFF/LZW format and the compression used is TIFF/G4. My query is which technique/method should I follow to get that image displayed in IE.