I am trying to set the image depth to 8 as it is defaulting to 16 bits:
@img = Magick::Image.from_blob(data) { self.depth=8 }.first
That is what I have now but the self.depth=8 doesn''t seem to be
changing
anything. Is that right? I shouldn''t have to set
--with-quantum-depth=8 when I installed ImageMagick (or is it for
Rmagick), should I?
Any ideas would be greatly appreciated! Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---