Unfortunately same issue here with convert and 9.06~dfsg-2+deb8u9, any chance to fix this?
convert -density 300 ws.pdf -depth 8 scan.jpeg [...] GPL Ghostscript 9.06: Unrecoverable error, exit code 1 convert: no images defined `scan.jpeg' @ error/convert.c/ConvertImageCommand/3210. Samuel