Comments (13)
Thanks for the details! This looks like an issue that has been affecting several people lately. We'll look into it as soon as we have a free moment, hopefully this weekend.
from rmagick.
It looks like the issue was caused by an ImageMagick function change in version 6.5.1 and forward. RMagick in source should be fixed to use the new function when available, and the change will be in the next release.
If you can, please try to compile from source and see if the fix works for you. If not, please reopen.
from rmagick.
I cloned rmagick from github and followed the instructions on http://github.com/rmagick/rmagick/blob/master/README.rc but still got the same result as before.
How can I confirm that I'm indeed running the rmagick built from source? Long_version reports (I had separately upgraded to the latest gem using sudo gem install rmagick, so I was already on 2.13.1):
This is RMagick 2.13.1 (
Built with ImageMagick 6.6.2-3 2010-06-08 Q8 http://www.imagemagick.org
Built for ruby 1.9.1
Web page: http://rmagick.rubyforge.org
Email: [email protected]
from rmagick.
If you're running RMagick from source, the version of RMagick should be 0.0.0 (since it's unreleased). You may need to remove the RMagick gem before doing an install from source.
from rmagick.
Fix worked, thanks!
from rmagick.
It would be nice to have an official release with this fix, any plans for that?
from rmagick.
Yes - a release with this fix would be greatly appreciated! :)
from rmagick.
This bug seems to be present again :(
from rmagick.
yes i can confirm that the bug is present again =/
from rmagick.
This bug is still present in 2.13.1
Is there at least a known work around?
from rmagick.
here too. using 2.13.1
from rmagick.
got it working like this:
# source image must have a cmyk color profile. if not, you have to assign a standard profile.
# you get those icc profiles on the interwebs
unless image.color_profile
image.add_profile("#{Rails.root}/lib/USWebCoatedSWOP.icc")
end
# then you assing a rgb profile. this converts the image to rgb.
image.add_profile("#{Rails.root}/lib/sRGB.icc")
# you dont need the profiles anymore
image.strip!
from rmagick.
schneikai: solution not worked for me. Using RMagic 2.13.1 and sRGB v4 profile.
from rmagick.
Related Issues (20)
- GEM HAS MOVED TO https://github.com/gemhome/rmagick/ HOT 5
- Update repos project URL HOT 2
- ImageMagick library function failed to return a result on from_blob HOT 2
- Magick::Pixel#opacity randomly returns 0 or 65535
- "checking for ImageMagick version >= 6.4.9... no" on Debian Sid + rbenv HOT 4
- Bundle Install doesn't work! HOT 2
- ImageList#append hangs HOT 1
- Please return self instead of Qnil when the image did not meet the qualifier. HOT 1
- fails to build on Debian Jessie HOT 3
- why columns and rows are wrong?
- Can't install gem on Ubuntu 15.04 HOT 20
- opaque on selected range of pixels HOT 1
- Draw#get_type_metrics throws exception on leading @ HOT 2
- How to upload file inside public folder to s3? HOT 1
- Unable to install rmagick gem in bitnami package
- Output Image has overlaid black rectangle on part of the pdf
- Typo 'blog' in rdocs for Method: Magick::Image.from_blob
- Windows binaries for ImageMagick 6.7.9.9 are no longer available
- no delegates
- how get pixel color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmagick.