fixed: java.lang.IllegalArgumentException: Number of color/alpha components should be 3 but length of bits array is 1 	at java.awt.image.ColorModel.<init>(ColorModel.java:318) 	at java.awt.image.ComponentColorModel.<init>(ComponentColorModel.java:256) 	at com.sun.pdfview.PDFImage$PdfComponentColorModel.<init>(PDFImage.java:1119) 	at com.sun.pdfview.PDFImage.createColorModel(PDFImage.java:1007) 	at com.sun.pdfview.PDFImage.parseData(PDFImage.java:555) 	at com.sun.pdfview.PDFImage.getImage(PDFImage.java:323) 	at com.sun.pdfview.PDFRenderer.drawImage(PDFRenderer.java:274) 	at com.sun.pdfview.PDFImageCmd.execute(PDFPage.java:667) 	at com.sun.pdfview.PDFRenderer.iterate(PDFRenderer.java:577) 	at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:102) 	at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:264) 	at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:198) 	at com.sun.pdfview.PDFPage.getImage(PDFPage.java:239)
fixed:
java.lang.IllegalArgumentException: Number of color/alpha components should be 3 but length of bits array is 1
	at java.awt.image.ColorModel.<init>(ColorModel.java:318)
	at java.awt.image.ComponentColorModel.<init>(ComponentColorModel.java:256)
	at com.sun.pdfview.PDFImage$PdfComponentColorModel.<init>(PDFImage.java:1119)
	at com.sun.pdfview.PDFImage.createColorModel(PDFImage.java:1007)
	at com.sun.pdfview.PDFImage.parseData(PDFImage.java:555)
	at com.sun.pdfview.PDFImage.getImage(PDFImage.java:323)
	at com.sun.pdfview.PDFRenderer.drawImage(PDFRenderer.java:274)
	at com.sun.pdfview.PDFImageCmd.execute(PDFPage.java:667)
	at com.sun.pdfview.PDFRenderer.iterate(PDFRenderer.java:577)
	at com.sun.pdfview.BaseWatchable.run(BaseWatchable.java:102)
	at com.sun.pdfview.BaseWatchable.execute(BaseWatchable.java:264)
	at com.sun.pdfview.BaseWatchable.go(BaseWatchable.java:198)
	at com.sun.pdfview.PDFPage.getImage(PDFPage.java:239)

yarick123/pdf-renderer