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
2 answers

Ruby RMagick format conversion always leave border

I have the following code to convert PNG to JPG using Ruby RMagick and the converted image always have a border around it. Anyway to avoid it? Mac OS X 10.8.2 ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12] rmagick (2.13.1) MacPorts…
TX T
  • 817
  • 2
  • 16
  • 25
0
votes
3 answers

Rmagick installed but I can't enable it in redmine

I have installed Redmine2.0 under Debian sucessfully. I did type gem install RMagick and it work fine, then I restarted my webserver. I still don't have Rmagick detected in Redmine, and I have no typical error, what to do ? Thanks in advance Best…
Manuhoz
  • 89
  • 2
  • 12
0
votes
1 answer

Displaying a thumbnail with RMagick in Rails

I just installed RMagick and am trying to display a thumbnail of any image I throw at it on my webpage. But the code from the tutorial opens up a new window in order to show my image. Here's what I have. require 'RMagick' class…
Mike Glaz
  • 5,352
  • 8
  • 46
  • 73
0
votes
1 answer

RMagick quality does not work for to_blob

I am trying to resize an image and reduce the quality of an image pulled from a database and be able to save it back into the database at the reduced size. So far, I am trying the following RMagick methods: image =…
Stefan Dunn
  • 5,363
  • 7
  • 48
  • 84
0
votes
2 answers

error when installing rmagic gem on Ubuntu 12.04 for Ruby on Rails

I am trying to get my Ruby on Rails application working and installing RMagic gem. But I get an error that says "Can't install RMagick 2.13.1. Can't find the ImageMagick library or one of the dependent libraries." Altough I have ImageMagick…
PeaceDefener
  • 618
  • 2
  • 8
  • 22
0
votes
1 answer

Adding text to posters with RMagick and Carrierwave. uninitialized constant PhotoUploader::Draw

I am trying to do image manipulation as process to add some text to my app. The effect I'm looking for is : adding text to image, after saving. The problem I'm dealing here is I get error: uninitialized constant…
Przemek Mroczek
  • 357
  • 1
  • 11
0
votes
2 answers

Rails: moving development environment from windows(mingw32) to OS X mountain lion

I have a rails 3.2.3 application which I was developing on my windows machine using git_bash as cli and mingw32 as environment (installed this env using railsinstaller)and postgres as db. But there were some problems with rmagick and couldn't use…
0
votes
1 answer

Segmentation fault in Gruff prevents me from generating a simple chart

I am experimenting with simple projects and RonR, specifically trying to generate some graphs using the gruff gem with rmagick and image magic. Everything is installed successfully, but when I run even a simple .rb with a chart it gives me…
0
votes
1 answer

Rails paperclip img upload error: "no file chosen" with rmagick installed

I can't get to upload images using paperclip. Whenever I choose the file and submit the page reloads and says "no file chosen". My code trip.rb class Trip < ActiveRecord::Base has_many :images accepts_nested_attributes_for :images,…
em-v
  • 417
  • 1
  • 3
  • 14
0
votes
3 answers

ImageMagick version cannot be found - rmagick install fails

Super confused and a first time Ruby user... I already have rmagick installed as denoted here: actionmailer (3.2.6) actionpack (3.2.6) activemodel (3.2.6) activerecord (3.2.6) activeresource (3.2.6) activesupport (3.2.6) arel (3.0.2) builder…
buddyp450
  • 528
  • 2
  • 10
  • 27
0
votes
1 answer

bundler fails for rmagic 2.13.1 on Netbeans 6.9.1

I am a beginner to RoR & trying to setup Netbeans IDE. Could someone please help me with the bundler error for rmagick in Netbeans ? I have the following environment for ROR development: Qadeers-MacBook:gems Qadeer$ rvm info ruby-1.9.3-p194: …
Qadeer
  • 211
  • 2
  • 9
0
votes
1 answer

RMagick's color_histogram results in something unlike a hash

I've been playing around with RMagick's color_histogram method to get a histogram of colors in a quantized 8-bit image. However, while I'm supposed to get a hash returned from this method, I get something kind of wonky. The output from IRB upon…
Josh Smith
  • 14,674
  • 18
  • 72
  • 118
0
votes
1 answer

RMagick smart resizing

Is there a way to make RMagick resize an image like this: Resize so that both width and height are smaller than, say, 200px, but keep aspect ratio If width > 200 and width > height, resize so that width = 200 and resize height accordingly If height…
K Everest
  • 1,565
  • 5
  • 15
  • 23
0
votes
2 answers

Cannot write Image object returned from RMagick gem append method to Amazon S3

I am reading three images using the RMagick gem and then adding them to an ImageList imagelist = ImageList.new imagelist << Image.read(path1)[0] imagelist << Image.read(path2)[0] imagelist << Image.read(path3)[0] Then I combined these three images…
user730569
  • 3,940
  • 9
  • 42
  • 68
0
votes
1 answer

A replacement for ImageMagick - Rmagick library?

Is there any library that can replace RMagick? It´s over 2 yeas ago since the gem has been updated. The installation process is still a pain. It´s broken. Example having followed this guide: C:\Ruby192\bin>convert -version Version: ImageMagick…
Rails beginner
  • 14,321
  • 35
  • 137
  • 257
1 2 3
56
57