CMYK format images not displaying properly in IE 7

I am using paperclip plugin in my application for  uploading images. But when I am uploading CMYK format image  then this format image not displaying in IE7 properly.

after some search I got the following solution and it’s working.

have added one line code in “paperclip” pluginn.

Go to the  –  “vendor\plugins\paperclip\lib\paperclip\thumbnail.rb”

On line no.64
Old code : trans = “-resize \”#{scale}\””
New change : trans = “-colorspace RGB -resize \”#{scale}\””
After made this changes then if you uploading any formated image then paperclip change in RGB.This change not affected on image clarity.
Advertisements
This entry was posted in Ruby on Rails and tagged , . Bookmark the permalink.

One Response to CMYK format images not displaying properly in IE 7

  1. Pingback: CMYK format images not displaying properly in IE 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s