jpg blackbackground, pdf not working