Skip to content
New issue

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

uninitialized constant Magick::ImageMagickError #9

Open
efleming opened this issue Jun 9, 2011 · 4 comments
Open

uninitialized constant Magick::ImageMagickError #9

efleming opened this issue Jun 9, 2011 · 4 comments

Comments

@efleming
Copy link

efleming commented Jun 9, 2011

I am getting this error when I upload certain files. Most files work properly. I can send you the exact file if you like.

@Serabe
Copy link
Owner

Serabe commented Jun 9, 2011

A test case will be nice. Are you using RMagick directly or are you using any plug-in?

@Serabe
Copy link
Owner

Serabe commented May 3, 2013

Does @efleming answer my question? Are you?
Could you be more rude? Yes, but it requires some effort on your side.

@fred
Copy link

fred commented Jun 7, 2013

@Serabe I am using Carrierwave (0.8.0) and I got this error too, but I got it because I was passing quality to image.
Seems RMagick4J does not support quality.
I've commented it out to use RMagick4J but my images are not that good quality.

Here is my code I was using with Rmagick (MRI),

module CarrierWave
  module RMagick
      def quality(percentage)
        manipulate! do |img|
          img.write(current_path){ self.quality = percentage } unless img.quality == percentage
          img = yield(img) if block_given?
          img
        end
      end
  end
end

@ckhatton
Copy link

@fred @Serabe @donv Is there an alternative route for setting the quality, using RMagick4J?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants