i have used this library but this gave following error
java.lang.ArrayIndexOutOfBoundsException: length=16; index=34
at com.sun.pdfview.colorspace.IndexedColor.toColor(IndexedColor.java:122)
at com.sun.pdfview.PDFImage.parseData(PDFImage.java:312)
at com.sun.pdfview.PDFImage.getImage(PDFImage.java:225)
at com.sun.pdfview.PDFRenderer.drawImage(PDFRenderer.java:374)
at com.sun.pdfview.PDFImageCmd.execute(PDFPage.java:654)
at com.sun.pdfview.PDFRenderer.iterate(PDFRenderer.java:674)
at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101)
at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263)
at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197)
at com.sun.pdfview.PDFPage.getImage(PDFPage.java:237)
at net.sf.andpdf.pdfviewer.PdfViewerActivity.showPage(PdfViewerActivity.java:790)
at net.sf.andpdf.pdfviewer.PdfViewerActivity.access$12(PdfViewerActivity.java:769)
at net.sf.andpdf.pdfviewer.PdfViewerActivity$3.run(PdfViewerActivity.java:259)
at java.lang.Thread.run(Thread.java:841)
i have used this library but this gave following error
java.lang.ArrayIndexOutOfBoundsException: length=16; index=34 at com.sun.pdfview.colorspace.IndexedColor.toColor(IndexedColor.java:122) at com.sun.pdfview.PDFImage.parseData(PDFImage.java:312) at com.sun.pdfview.PDFImage.getImage(PDFImage.java:225) at com.sun.pdfview.PDFRenderer.drawImage(PDFRenderer.java:374) at com.sun.pdfview.PDFImageCmd.execute(PDFPage.java:654) at com.sun.pdfview.PDFRenderer.iterate(PDFRenderer.java:674) at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:101) at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:263) at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:197) at com.sun.pdfview.PDFPage.getImage(PDFPage.java:237) at net.sf.andpdf.pdfviewer.PdfViewerActivity.showPage(PdfViewerActivity.java:790) at net.sf.andpdf.pdfviewer.PdfViewerActivity.access$12(PdfViewerActivity.java:769) at net.sf.andpdf.pdfviewer.PdfViewerActivity$3.run(PdfViewerActivity.java:259) at java.lang.Thread.run(Thread.java:841)