Displaying 20 results from an estimated 4000 matches similar to: "resize images"
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
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
2005 Sep 09
5
file_column: patched for imagemagick and validation
Hi all,
I patched file_column to add imagemagick transformations of uploaded
content. I added an options hash, and it takes the :magick and
:format keys. :magick is a string of imagemagick command line options
for convert (Reference:
http://www.imagemagick.org/script/convert.php). Format is an optional
extension for the finished image. If Imagemagick recognizes the
extension, then it will
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 May 01
3
RMagick question ?
I have a file rmg.rb:
require ''RMagick''
include Magick
cat = ImageList.new("prod.jpg")
cat.display
exit
The file prod.jpg is in the same directory as this file above.
I execute the following:
ruby rmg.rb
I get the following output:
/usr/lib/ruby/1.8/RMagick.rb:1377:in `read'': unable to open image `'': No
such file or directory:
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...
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 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 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick:
uninitialized constant Magick
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/
active_support/dependencies.rb:200:in `const_missing''
./script/../config/../vendor/plugins/rails_file_column/plugins/
file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2006 Apr 26
5
imagemagic / rmagic dmg for OSX?
Is there a pre-built disk image for rmagic on OSX (including image magic and
all the other pre-requisites)? I''ve seen that it comes on the Locomotive
image but I don''t want to replace my entire development environment.
Does anybody have a sense of how reliable it is on OSX? I''ve seen some
fairly negative comments when googling, but that''s not the best way to
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 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 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
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
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
hi guys,
I have been trying to install Rmagick on ubuntu karmic koala for a
day.
Yes, ImageMagicK has already been installed and works great with
paperclip and a few other perl scripts I have (which uses
Image::Magick).
The following is what the execution looks like when I tried to
install rmagick ( " gem install rmagick" ):
-------------------- Extract start
2007 Jul 18
1
RMagick progress monitor with backgroundrb - possible?
I''m looking for a way to give the user a progress monitor on large
image manipulations with RMagick. I first looked at this method -
http://www.imagemagick.org/RMagick/doc/imageattrs.html#monitor - to do
it in a controller action, but since I can''t call multiple renders in
an action, I would need to store the progress in the database and call
another action from javascript to
2006 Mar 27
14
Image manipulation/resizing server-side?
I''d like to implement a system in a Rails app where I allow the user to
upload an image file, and then the app takes that image and manipulates
it, saving a thumbnail, small, and original size version of the file to
the server.
How would I go about doing that?
Thanks,
Jeff
--
Posted via http://www.ruby-forum.com/.
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 Apr 06
4
GraphicsMagick or ImageMagick and RMagic on OS X
Hi all,
I''ve been trying to install GraphicsMagick with RMagic. I''ve tried
ImageMagick with RMagic as well. I''ve tried the installations using Darwin
Ports, Gems and from source. Nothing seems to work properly.
My specs:
ruby --version
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0]
rails --version
Rails 1.1.0
convert -version
Version: ImageMagick 6.1.8 04/05/06 Q16
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with
mongrel and rails is a bad thing. I''m currently using FlexImage (which
in turn uses RMagick) on my application and really haven''t had too
many problems. We get a restart for memory usage every 8-10 hours on
one mongrel of twelve running, but I''m not sure if that''s an RMagick
issue. Either way,