rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

Output Image has overlaid black rectangle on part of the pdf #141

Closed albertsaave closed 7 years ago

albertsaave commented 7 years ago

Hi,

I am having a bad image printed from a PDF. This is the image that I get when I run the following code:

image

images = Magick::ImageList.new(original_pdf_path) do
        self.density = '300x300'
        self.quality = 75
      end

The output image that I get when I run ghostscript 9.21 directly is: image

What options do I need to pass to Magick::ImageList to make it look like the one from ghostscript?

Thanks!