First of all , thank you for cross-posting rules. I`ll stick to them in future.
When i use ItDoesntWorkScan.pdf from topic youve mentioned, i got completely meaningfull error.
In case of other PDFs i`ve tried , i have absolutly no errors. Everything works perfect, except i`m getting blank image file.
I stuck, cause i have no idea where to investigate further.
Also, i`ve noticed , if i print
bi which is
BufferedImage object (do not know actually how to look inside it), i get next
test representation
dataOffset[0] 0 this part bothers me. Does this mean that bufferedImage arrives to variable already empty ? I`m just guessing.