ruby on rails - Color Profile and ColorSpace mismatch using RMagick -


in ruby on rails enviornment, im trying convert jpeg image rgb cmyk , rgb create pdf, , want add icc profiles (from adobe) when converting (i using magick rmagick gem). however, keep getting error "colorspace colorprofile mismatch", pretty self explanatory. don't understand this:

2.0.0p195 :083 >   image.colorspace => rgbcolorspace=1  2.0.0p195 :084 > image.add_profile("lib/assets/adobergb1998.icc") magick::imagemagickerror: colorspacecolorprofilemismatch `icc' @error/profile.c/profileimage/582 

how there mismatch when colorspace matches profile?

"/lib/assets/adobergb1998.icc", not "lib/assets/adobergb1998.icc". typos....


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -