Carrierwave resize_to_fit does not work as expected

Hi i'm trying to resize an image to a size of width 1135px and auto height(so that i can resize it in css) . and for this i'm adding following line in uploader version :large_cover_photo do resize_to_fit(1135, 10000) end Same goes for . version :larg

RMagick installation: can not find MagickWand.h

Updating RMagick and Imagemagick is a painful expierence. I have updated the Imagemagick version on my mac (MacOS El Capitan Version 10.11.5) with homebrew for one project in Ruby 2.3 to 6.9.5-9 $ convert --version Version: ImageMagick 6.9.5-9 Q16 x8

Saving a GIF Image with a RMagick Failure

I'm using ruby 2.1.0, rmagick 2.15.4, ImageMagick 6.7.7-10 I'd like to load a JPEG file and then save in the GIF format. x ="a.jpg").first puts "Start write..." x.format = "GIF" x.write("a.gif")

Unable to install RMagick 0.0.0. Unable to find Magick-config

I'm running a debian server and upgraded all packages after quite a while (apt-get update, apt-get upgrade, apt-get distro-upgrade). Then rmagick didn't work anymore becuase imagemagick was updated. So I ran: gem uninstall rmagick bundle install Then

Unable to install RMagick 2.13.2

I am having an issue on OS X Maverick when trying to install the rmagick gem. Following are some details ImageMagic details mairs-MacBook-Pro:social-login-in-rails umair$ convert --version Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-07-06 http://www

Carrierwave recreates the version

I'm using carrierwave and rmagick to handle my image uploads. I now added a new version (smallthumb) to my image_uploader.eb: class ImageUploader < CarrierWave::Uploader::Base include CarrierWave::RMagick storage :file def store_dir "uploads/image

Windows installation restore error

Specification: - Windows 7 x64 - Ruby 2.0.0 x64 - DevKit-mingw64-64-4.7.2 I try install redmine bundles, but when I use bundle install then got error d:\www\xampp\htdocs\projekty\redmine\redmine-2.3.3>bundle install Fetching gem metadata from https:/

rmagick compresses and converts png to jpg

I am trying to compress a png and save it as jpg: i ="").first it's size is 799 kb:>

Unable to install rmagick gem on Ubuntu 13.04

When I try to install rmagic with: gem install rmagic it gives error: Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /home/biske/.rbenv/versions/2.0.0-p247/bin/ruby

How to install rmagick gem on Windows?

How do I install rmagick gem for Windows XP? I already installed ImageMagick with the header files, and I installed which comes with DevKit. I don't know where to look to fix these errors. C:\RailsInstaller\ImageMagick-6.8.2-Q16>ru

Error installing Rmagick on Mountain Lion

I have seen other people with the same issue of installing RMagick on Mountain Lion However none of the suggested solutions have allowed me to successfully install rmagick. Here is the error message I am getting: Gem::Installer::ExtensionBuildError:

Warnings rmagick gem

Since I install rmagick gem, I am getting this list of warnings after each rails or rake command : /Users/joel/.rvm/gems/ruby-1.9.2-p290/gems/rmagick-2.13.1/lib/RMagick.rb:44: warning: already initialized constant PercentGeometry /Users/joel/.rvm/gem

Circle with RMagick

I want to cut a circle out of an image using rmagick. Here's an example of what I'd like to be able to accomplish: --> It seems like I want to use

Resize the image until one side reaches the objective size

How do you scale down an image until one side reaches it's goal dimension with Carrierwave and rmagick? Example: Goal dimensions: 600x400 Picture being uploaded: 700x450 I want this image to be scaled down until the height reaches 400 pixels keeping

Ruby / RMagick turns and combines images

I'm trying to rotate an image before composing it ontop of another, using RMagick with ruby. I can compose the overlaid image but when I try to rotate the image parts of the background are removed, like so... Im not sure which CompositeOperator I sho

Unable to install rmagick, ruby ​​1.9, rails 3, windows

I've been googling for a while but couldn't find anything that works. Basically, when I put gem 'rmagick' in my gemfile and run bundle install, I get the following error message: Installing rmagick (2.13.1) with native extensions C:/Ruby192/lib/ruby/

rmagick installation problem

I am trying to deploy my rails 3 app on DreamHost. When I do "bundle install", rmagick causes an error. configure: error: Can't install RMagick. Can't find Magick-config or GraphicsMagick-config program. RMagick configuration failed with status

RMagick Alarm Running Server

I am using gem 1.3.7, rails 2.3.5 and ruby 1.8.7 (2008-08-11 patchlevel 72). While starting server i get below warnings. Loading development environment (Rails 2.3.5) /Users/me/.rvm/gems/[email protected]/gems/rmagick-2.13.1/lib/RMagick.rb:44: warni

How do I make a transparent gradient with RMagick?

Want to use RMagick to create a PNG image of a gradient that goes from rgba(0,0,0,0.3) to rgba(0,0,0,0.7). Is this possible?I guess it cannot be done. If you take a look at c code in here you will see that opacity is automatically set to OpaqueOpacit

How do I use ImageMagick to overflow images?

I have an image that is black text with some gray and pale yellowish background. I basically want to keep the text as black as possible, and make the gray and yellow comparatively the very least, turn yellow into a light gray. What's the