Installation problem of rmagick on Ubuntu 16.04

I'm trying to install rmagick 2.13.1 for my legacy rails application on Ubuntu 16.04. I get following error when I do bundle install: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/uping/.rubies/ruby-1.9.3-p19

RMagick loses transparency by saving gifs

I am trying to wite a Ruby script for batch processing images with RMagick. But when I use for exaple this code: img ='in.gif').first pixels = img.get_pixels(0,0,img.columns,img.rows) img.store_pixels(0,0, img.columns, img.rows, pixels

Issue when installing ImageMagick for Windows

I just downloaded ImageMagick but am not sure if it's working. I typed in 'which convert' into my terminal and nothing happened. I also tried typing in 'convert logo: logo.gif' then 'identify logo.gif' and lastly 'display logo.gif' and nothing seemed

Allow users to crop and resize Ruby on Rails images

Sorry for the fairly generic question but I was wondering whether anyone had any recommendations on how to best allow users to crop and edit their own images. What I would like to happen is that when a user uploads their image on my app for the app t

rmagick and imagemagick error bundle / homebrew

Please see error stack below. I tried uninstall/install of imagemagick via homebrew, 'gem pristine rmagick', and reinstall of rmagick. All have returned the same error. Any help would be VERY much appreciated- been at this for a while now. $ gem inst

Rails + Mac OS X: libMagickCore-Q16.7.dylib not working

If I run some kind of rake command, I get this error message: rake aborted! dlopen(/Users/adam/.rvm/gems/ruby-1.9.3-p327/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libfreetype.6.dylib Referenced from: /usr/local/l

Rmagick gem rails

just installed rmagick gem but having this error in my console while trying to upload : LoadError (dlopen(/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/L

ImageMagick and rmagick OS X 10.7

ImageMagick and rmagick gem is very tough to install. I tried using MacPort and then using I'm getting errors. Please help me to uninstall the uncompleted versions and to reinstall it again. I have already

RMagick - S3 - Heroku, problems with the opened RMagick file

I am trying to upload a file from browser, then make one thumbnail from it, then upload both to s3.[:file][:tempfile]) do |p| AWS::S3::Base.establish_connection!( :access_key_id => settings.s3_key, :secret_access_key => settings.s3_

Carrierwave image size

How can I get the width and height of the current instance of carrierwave? Something like this: car_images.each do | image| image_tag( image.photo_url, :width => image.photo_width, :height => image.photo_height) end Unfortunately image.photo_width a

Carrierwave Rmagick Segmentation error on bad photo extension

I got a segmentation fault when I attempted to upload an image to my site on Heroku using Carrierwave with Rmagick. This is part of the error log output: ruby: jpc_dec.c:1072: jpc_dec_tiledecode: Assertion `dec->numcomps == 3' failed. /app/.bundle/ge

How to create a preview of a specific web page?

I have to create a preview of some web-pages on web-site as image like google search preview. How can i create this on Rails using rmagick or it is impossible? Thank's.Use Iframe.This link can help

RMagick image processing library for Java

Is there any Java image processing library that is as easy to use as and provides the set of functionalities provided by RMagick? (I have seen JMagick and unfortunately that is not the kind of library I am looking for.) EDIT: Please note that the spe

rake db: migrate fails: looking for RMagick - why?

I just created a simple migration to an existing project. This project uses RMagick, and when I call rake db:migrate the migration fails thus: Dans-iMac-335:myserver apple$ rake db:migrate (in /Users/apple/Documents/projects/electionjoy/glowing-mist-

Unable to find Magick-config

Possible Duplicate: ImageMagick / RMagick - Can't install RMagick 2.13.1. Can't find Magick-config I am getting the following error when I try to run my dev console (MAC OS X / Snow Leopard). Does anyone know the solution? /usr/local/bin/ruby extconf

not such a file to load & mdash; rmagick

I have following - Gem Version - 1.3.2 Ruby Version - ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] Rails Version - Rails 2.3.5 ======================== rmagick (2.13.1, 2.10.0) Authors: Tim Hunter, Omer Bar-or, Benjamin Thomas Rubyforge: http:/

Convert .pdf to images using RMagick & amp; Ruby

I'd like to take a pdf and convert it to images...each pdf page becoming a separate image. There's a similar post here: Convert a .doc or .pdf to an image and display a thumbnail in Ruby? But it doesn't cover how to make separate images for each page

how to make a spiral galaxy image based on data points?

I'm trying to plot points from a very large array into an image using Ruby. Such that the array items are represented by a point or dot of the appropriate colour, and the dots together form the shape. Since the dots are from the array they are not ra

Problem when installing RMagick rubygem on Centos 5

I'm having problems installing the RMagick rubygem on Centos 5. I've followed the steps detailed in but when I try: sudo gem install rmagick the result is: Building native extensions. This could take a

Is there a RMagick image editor ready for use?

I am about to build a basic online image editor for my web application using rails and rmagick. I did a bit of googling but couldn't find any existing solution, however I'd like to be sure before I spend a lot of time rolling my own. Is anyone aware

error while 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... no