Questions tagged [rmagick]

RMagick is an interface between the Ruby programming language and the ImageMagick® and GraphicsMagick image processing libraries.

RMagick is an interface between the Ruby programming language and the ImageMagick® and GraphicsMagick image processing libraries.

Questions concerning using ImageMagick® and GraphicsMagick image editing libraries with Ruby should be tagged with rmagick.

853 questions
0
votes
1 answer

RMagick dissolve tiled

I have a picture of a paper, and I want to make it transparent, overlay it and tile it on top of another image. However, dissolve won't tile it, and composite_tile won't make it transparent. Any tips for how to do this? Currently, I have image =…
mlstudent
  • 948
  • 2
  • 15
  • 30
0
votes
1 answer

Can't run rails server after trying to install Rmagick

I'm on windows and I downloaded and installed rmagick-win32 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8 from here (http://rubyforge.org/frs/?group_id=12&release_id=42049) which I unzipped and installed using 'gem install rmagick' When I try to run rails…
syk
  • 211
  • 4
  • 14
0
votes
2 answers

Set up different storage directories for different models with carrierwave

I have model1 and model2. I need to upload the images of the two models in two different directories. For now my image_uploader is: class ImageUploader < CarrierWave::Uploader::Base include CarrierWave::RMagick storage :file def store_dir …
user929062
  • 807
  • 4
  • 12
  • 33
0
votes
3 answers

RMagick installation failed in Ubuntu 9.04

I already installed the following: imagemagick libmagickwand-dev but still i get this error. ====================================================================== Mon 05Oct09 19:36:06 This installation of RMagick 2.12.0 is configured for Ruby…
Marc Vitalis
  • 2,129
  • 4
  • 24
  • 36
0
votes
1 answer

Quantizing to same base colors in RMagick

In RMagick you can call the quantize function which reduces the colors in the original image. I was wondering if there was any way for force a specific color palette onto the image. I'm processing thousands of images and I want to be able to compare…
Xavier Denis
  • 406
  • 3
  • 14
0
votes
1 answer

MiniMagick affecting Amazon S3 file that comes before resize code

I'm attempting to upload the full size image that comes from a post, then thumbnail it and put the thumbnail on S3. However, I'm running into a strange issue where the my resize code seems to be affecting the full size image, even though S3 should…
nullfox
  • 597
  • 1
  • 4
  • 16
0
votes
2 answers

Rmagick and carrierwave installment in dreamhost vps

I am trying to install carrierwave not on my machine but on a vps hosted on dreamhost. Here the Gemfile gem "rmagick" gem 'carrierwave' Here the error when bundling: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native…
Jseb
  • 1,926
  • 4
  • 29
  • 51
0
votes
1 answer

How to convert .tiff images into .jpeg format

I am using Attachment_fu to upload images. I need to convert .tiff images into .jpeg format after uploading image in application. I used below code: :styles => { :thumb => ["150x172#",:jpg], :large => ["100%", :jpg] }, But it is not…
Dipali Nagrale
  • 510
  • 5
  • 17
0
votes
2 answers

My previues Rails Project does not work now, because of some error in RMagic gem

I programmed a website in Rails on Ubuntu 12.10. after some while, when I came back to check it, when look at localhost:3000, everything is ok until we click on anything, i see a page that say libMagickCore.so.4: cannot open shared object file: No…
dare
  • 662
  • 1
  • 6
  • 15
0
votes
1 answer

Installing gem-bundle for Redmine 2.1.4 with Ruby 1.9.3 (including rmagick 2.13.1) on Windows

I'm having problems installing json or rmagick gems on Windows, which I need because I am trying to install Redmine 2.1.4. As none of the procedures worked out-of-the-box for me and have struggled with it myself for a couple of hours, I thought I'd…
mmm
  • 1,277
  • 5
  • 18
  • 34
0
votes
1 answer

Installing rmagick gem fails on Mac OS X Lion

On MAC OS X LION while install rmagic gem, I am getting desperately this error: Installing rmagick (2.13.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. …
zabumba
  • 12,172
  • 16
  • 72
  • 129
0
votes
2 answers

Unable to save file to Amazon S3 when using carrierwave

SEE UPDATE BELOW! I am having problems after I upload an image file to Amazon S3 and then try to save the file. I use direct_fog_url(with_path: true) to get the the url of the image uploaded. I then get the following…
Danconia
  • 543
  • 2
  • 12
  • 28
0
votes
1 answer

RMagick - Correct way to create a thumbnail without leaking memory

I'm using RMagick to do some fairly simple image manipulations in a Rails 3 app (running on Passenger). I'm having a terrible experience trying to control associated memory leaks, despite using the destroy! method. An important thing to note is that…
Phil
  • 2,797
  • 1
  • 24
  • 30
0
votes
1 answer

Could lack of ram cause image processing to fail?

I have a 512MB Rackspace box on which I'm running 3 websites written using Ruby on Rails (4500-5000 visits per month). I'm using Carrierwave and RMagick to resize images I upload to the sites but this has recently stopped working with a generic…
Robin Fisher
  • 1,454
  • 1
  • 13
  • 23
0
votes
3 answers

error installing RMagick from gem

Trying to install the RMagick gem is failing with an error about being unable to find ImageMagick libraries, even though I'm sure they are installed. The pertinent output from gem install rmagick is: checking for InitializeMagick() in -lMagick...…
rory
  • 85
  • 1
  • 8