Bugfix: Compute correct -resolution value to use when converting from PDF to JPEG.