similar to: RMagick question ?

Displaying 20 results from an estimated 2000 matches similar to: "RMagick question ?"

2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take the image file and read it into rmagick to verify that it''s an image. For some reason I can''t catch an exception thrown by rmagick inside the app. After an invalid image file is uploaded the process just hangs. I have to kill mongrel and restart to use the app again. img =
2008 Feb 04
7
Problems installing Rmagick on Ubuntu
I want to install Rmagick on Ubuntu 7.10, but i am getting this error when running gem install rmagick: Can''t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later. (I installed imagemagick and libmagick9-dev prior to that) I installed rmagick through Synaptic, and it says that i have version 7:6.2.4.5.dfsg1-2ubuntu1 installed (by the way, what does the 7 mean?). What should
2006 Aug 12
5
Rmagick not handling GIF files properly...
Tracked down the source of my problem... It seems that Rmagick isn''t properly cropping/resizing GIF or PNG images when uploaded via file_column. I can upload JPG files just fine. Originally I had installed ImageMagick via Debian''s apt-get and built the rmagick gem using "gem install rmagick". This wasn''t working so I uninstalled ImageMagick and tried to
2006 Feb 09
9
RMagick on OS X - HOW
Hello all. I''m a seasoned system administrator and have no fear of building source packages on a variety of platforms, but RMagick has, until recently, evaded all of my attempts to building it on my PowerBook. Someone else just mentioned that they had trouble with RMagick on OS X (Intel, don''t really know if my advice will help) so I decided to post a HOWTO to the list. I
2009 Oct 01
2
Installing RMagick on UBUNTU 9.04
I installed ImageMagick 6.5.6 and all seems to be installed ok. I downloaded ImageMagick 6.5.6 I entered $ ./configure and everything seems OK. When I enter $ identify -version I get Version: ImageMagick 6.5.6-6 2009-09-30 Q8 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC I then enter $ sudo gem install rmagick I get Building native extensions.
2006 Mar 15
1
file_column imagemagick strangeness
Hi, I''m using the basic magick features of file_column, and while files are uploading fine without the magick options, as soon as I do something like :magick => { :size => "400x600" } I get an ''invalid file'' error. Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m looking around at the libraries available to do this sort of thing and there are three that look promising. ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html Mini-Magick -- http://rubyforge.org/projects/mini-magick/ RMagick -- http://rmagick.rubyforge.org/ It looks like a lot of people are
2006 Apr 24
7
ImageMagick/Rmagick replacement?
Hi, everyone! I have been recently hit by ImageMagick/Rmagick memory leak issues. I know I can lesson the problem by manually starting up GC each time I use Rmagick library but ImageMagick seems to use way too much memory nevertheless. (on shared hosting setup anyway) Is there a decent replacement for ImageMagick library? I used to think ImageMagick was quite efficient because its
2006 Jun 30
3
gem Rmagick install problem on Linux
I get the following error when I try to install Rmagic (via gem) on Linux. Do I need to install anyting before installing rmagic? This worked seamlessly on windows. What the best way to install it on Linux. I am on RedHat ES 3. /thanks -thila Attempting local installation of ''rmagick'' Local gem file not found: rmagick*.gem Attempting remote installation of
2006 Apr 07
4
file_column and animated gifs
hi, is it possible to resize animated gifs with file_column? if i upload an animated gif file with file_column than the animation no longer exists... -- Posted via http://www.ruby-forum.com/.
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The deployment machine (Fedora Core 5) can''t find RMagick unless I change the "require" syntax from that used on the dev machine (OS X). And the dev machine doesn''t like the syntax that works on the deployment server! To wit: [OS X] $ script/console Loading development environment. >> require_gem
2006 Sep 05
4
No matches
The following script creates a search index and then searches it. I get no results? Where am I going wrong? Thanks. -----------BEGIN SCRIPT---------------- require ''rubygems'' require ''ferret'' include Ferret path = ''/tmp/myindex'' field_infos = Ferret::Index::FieldInfos.new() field_infos.add_field(:name, :store => :yes, :index => :yes)
2006 Feb 03
3
File_column and rmagick options
Hi, Currently I''m using the file_column plugin to upload images and save multiple copies of each at 3 different resoltions: file_column :name, :magick => { :versions => { "thumb96" => "96x150>", "medium250" => "250x400>", "large480" => "480X640>" } } I am wondering if
2006 Jul 21
1
setting image resolution with Rmagick
Hi Has anyone had success with setting image resolution with Rmagick. I am resizing an uploaded image with Rmagick, problem is it keeps the original images resolution and I want to change it to 72dpi. <<<<<< code example >>>>>>>>>> # these are the various techniques I have tried when and after reading the file, trying any or all of them does
2009 Jul 03
5
Can't install RMagick due to MagickWand problems
Hello, I''m trying to install/update rmagick on a Debian machine using: gem install --local rmagick-2.10.0.gem and get following error: /usr/local/bin/ruby extconf.rb install --local rmagick-2.10.0.gem checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... yes Warning: Found more than one ImageMagick installation. This could cause problems at
2006 Jan 12
5
Question about using DISTINCT in ActiveRecord find method.
Hi, Am relatively new to the RoR world. My question is quite simple. I have a query like such: shipmentNumbers = Order.find_by_sql(["select distinct s.id from orders o, line_items li, shipment_lines sl, shipments s where o.number=? and o.id = li.order_id and li.id = sl.line_item_id and sl.shipment_id = s.id", number]) The above query works fine. I wanted to do the same query using
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the uploads of the files and create my thumbnails, but does anyone here have any idea how to have a watermark (opaque text maybe) placed over one of the versions? Any ideas on how to go about this would be great. Even if it''s just straight RMagick code, that would be fine too. Thanks in advance for the
2007 Jan 04
4
RMagick problems
I read the 13th recipe in the book "Rails Recipes" from Chad Fowler. I install with gem the gruff-library (gem install gruff). After the installation, I download the "rmagick-win32-1.13.0_IM-6.2.9-3.zip" file and install it on my win32-machine. It was successfully! So, I create a controller with script/generate. In a method, which I wrote after the creation, I''ll make
2006 Jan 18
7
FastCgi issue
Hi, I know that Apache2 + fastcgi is sometimes difficult to setup, but I was wondering if anyone has come across this error and if yes what did you do to resolve it? [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout (120 sec) [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]
2010 Feb 24
5
gem install rmagick --local
Hi all i copied rmagic gem in my local system cd rmagick-2.12.2.gem bash: cd: rmagick-2.12.2.gem: Not a directory *[root@localhost shyam]# gem install rmagick --local* Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc...