Giter VIP home page Giter VIP logo

Comments (13)

baror avatar baror commented on September 5, 2024

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.

baror avatar baror commented on September 5, 2024

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.

jxtps avatar jxtps commented on September 5, 2024

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 ($Date: 2009/12/20 02:33:33 $) Copyright (C) 2009 by Timothy P. Hunter
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.

baror avatar baror commented on September 5, 2024

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.

jxtps avatar jxtps commented on September 5, 2024

Fix worked, thanks!

from rmagick.

thijsc avatar thijsc commented on September 5, 2024

It would be nice to have an official release with this fix, any plans for that?

from rmagick.

mltsy avatar mltsy commented on September 5, 2024

Yes - a release with this fix would be greatly appreciated! :)

from rmagick.

gucki avatar gucki commented on September 5, 2024

This bug seems to be present again :(

from rmagick.

beirigo avatar beirigo commented on September 5, 2024

yes i can confirm that the bug is present again =/

from rmagick.

lukesutton avatar lukesutton commented on September 5, 2024

This bug is still present in 2.13.1

Is there at least a known work around?

from rmagick.

schneikai avatar schneikai commented on September 5, 2024

here too. using 2.13.1

from rmagick.

schneikai avatar schneikai commented on September 5, 2024

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.

pedrocss avatar pedrocss commented on September 5, 2024

schneikai: solution not worked for me. Using RMagic 2.13.1 and sRGB v4 profile.

from rmagick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.