We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am running this command on the image:
convert -verbose -density 150 -trim input.jpg -quality 100 -sharpen 0x1.0 output.jpg
But I wanted to execute same thing using ruby script, so i tried this:
im = Magick::Image.read(pdf_file_name) im.each do | img | im[0].density = "150" im[0].trim! im[0] = im[0].sharpen(0,1.0) im[0].write("final.jpg") {self.quality = 100} end
The problem is both are giving different outputs. Could you please tell where am i going wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am running this command on the image:
But I wanted to execute same thing using ruby script, so i tried this:
im = Magick::Image.read(pdf_file_name)
im.each do | img |
im[0].density = "150"
im[0].trim!
im[0] = im[0].sharpen(0,1.0)
im[0].write("final.jpg") {self.quality = 100}
end
The problem is both are giving different outputs. Could you please tell where am i going wrong?
The text was updated successfully, but these errors were encountered: