I have an application that produces PDFs with an empty Graphic State (/Resources<</ExtGState<<>>).
Without the change in this commit PDFrenderer creates a blank image and logs a NPE in background, with the change it creates the desired result.
I'm no PDF expert, but all mainstream PDF readers were able to open the files correctly with the empty Graphic State.
I have an application that produces PDFs with an empty Graphic State (/Resources<</ExtGState<<>>). Without the change in this commit PDFrenderer creates a blank image and logs a NPE in background, with the change it creates the desired result. I'm no PDF expert, but all mainstream PDF readers were able to open the files correctly with the empty Graphic State.