Displaying 20 results from an estimated 6000 matches similar to: "MiniMagick Gem"
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi,
I''m using Mini Magick and that attachment_fu plugin to resize images
that the user uploads. Everything looks okay in my code, but I get a
core dump every time an image is uploaded.
The file successfully posts to the application, I can see that the
original file gets copied into the folder correctly. It appears that
it dumps immediately after that. I''m using Mongrel behind
2006 Jul 30
0
error resizing image using minimagick
Hi.
I''m uploading images using a standard form. A thumbnail is made using
minimagick, when I upload files larger than 2 MB I get this error:
ImageMagick command (mogrify -resize 500x500 /tmp/minimagic15697.0)
failed: Error Given 256
Images smaller than 2 MB works fine. Is there some configuration I need to do?
regards
Claus
2006 Sep 13
4
Mini_Magick Problem
I can''t for the life of me figure this out. Been banging my head on
this since the weekend, and can''t see what I''m doing wrong.
This code works:
image.resize("640x480")
image.write(path)
I run this and I get the resized file just fine.
This doesnt work at all:
width = 200
height = 100
dimensions = "#{width}x#{height}"
2006 Jan 03
0
Minimagick and RoR
Posting here is kind of a last resort: has anyone used Minimagick with
Ruby on Rails, and gotten it working correctly? I hate posting a "bug"
problem but I''m not if it''s *my* problem, or a problem with Imagemagick
and RoR 1.0, which I just installed (upgraded from 0.13.1).
Basically, when I try to run the most basic MM command in ROR:
image =
2005 Dec 28
2
Plugin question
In the rails app I''m making, I dropped MiniMagick into the vendor folder
(vendor/mini_magick). In my controller, when I call:
image = MiniMagick::Image.from_file(path)
...I get a "uninitialized constant MiniMagick" error. From what I can
tell, installing a plugin such as this should be as simple as dropping
it into the vendor folder, then accessing its functions from the
2014 Jan 19
0
gem install fileutils error
Hello Guys
I'm new in Ruby
so I'm now trying to install fileutils by using the command [ gem
install fileutils ]
note: I'm using windows 7 :(
always when i trying to install it i got this error
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... *** extconf.rb failed ***
Could not create Makefile due to some
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 Apr 12
0
file_column plugin with minimagick?
Hi!
Would it be possible to use minimagick instead of rmagick with
file_column plugin? Did anyone tried to change code of the plugin to
make this work?
--
Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
Minimagick issue writing resized file
Hi there
I have a helper method in my Rails app that uses Minimagick as a plugin.
All is fine except for the write step where I attempt to write the
resized file to another directory.
I get the error: "undefined method `to_str'' for #<Array:0x25221e8>"
Here''s my resizing method:
def display_thumb(product_id)
# glob through images/books/thumbs dir to find
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 Apr 15
6
Good image API for RoR?
Hi, I need a relatively simple image api for the app I''m writing. I
need to copy photos, rename them, and re-size them to put them in a
standard format.
I tried using RMagick/Imagemagick, but the photos would be corrupted on
re-size, so I''m looking for some suggestions.
--
Posted via http://www.ruby-forum.com/.
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is
2006 Apr 18
1
Anyone get mini-magick plugin working on windows?
Ruby 1.8.4, mini-magick 1.1.0, ImageMagick-6.2.7-0-Q16-windows-dll.exe. I
downloaded and installed the mini-magick plugin into my vendor/rails
directory. When I try to start webrick it fails, but it does not display any
errors. It just simply returns me to the command line. "Ruby script/generate
model test" won''t even work. It acts the same way. It doesn''t throw any
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins
Then I did
>rake simple_captcha:setup
Gave error:
rake aborted!
no such file to load -- RMagick2.so
SO I thought Rmagick has to be installed.
So downloaded
2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05
RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip
Unzipped the file
Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe
It installed the program in
2007 Sep 03
1
Problem installing RMagick gem
Hi,
I have problems installing problem installing the RMagick gem.
My environment:
- winXP
- instantrails 1.4
- installed ImageMagick-6.3.0-7-Q8-windows-dll.exe
I have problems installing the gem:
cmd I''m running:
gem install rmagick --local --debug
Error:
Exception `Errno::ENOENT'' at F:/InstantRails/ruby/lib/ruby/site_ruby/
1.8/rubygems/config_file.rb:50 -
No such file or
2006 Jul 11
0
"uninitialized constant Enum" in RoR app under Apache
Hi, all.
I am trying to manage to run my application under Apache+Mongrel but i
am stucked with very difficult (for me) problem.
The problem is: RMagick stuff works perfectly under WebRick. My
environment is
Ubuntu 5.10, ImageMagick 6.2.8, latest version of mongrel, rails,
rmagick... Apache 2.2
But if I start the same application under Mongrel I get following error
NameError (uninitialized
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...
2010 Nov 15
1
Installing rmagick gem with RVM
Hello,
I start using RVM for using Rails 3 and Rails 2 for some applications.
At the moment I can''t install the rmagick gem in the new Ruby
environment.
I use Mac OSX and I installed already imagemagick via ports and this was
working before using RVM, I succeed also to install the rmagick gem
before installing RVM.
Here is the output of the install command :
http://pastie.org/1299253
2010 Nov 12
0
RMagick gem require error
When I try the following in my User model - require ''RMagick''
I get the following error:
127: The specified procedure could not be found. -
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdp-rmagick-0.0.0/lib/RMagick2.so
I''ve been to the directory and the RMagick2.so file exists
After a bit or reading I think it has something to do with the
libMagickWand.so.1 file but I
2006 Mar 23
1
Using ImageMagick with Locomotive
Hi,
I''m trying to use the routines on this page:
<http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/>
to try and rotate some images.
I tried using the script/console to do some testing, - I know
ImageMagick is working, as I''m using the filecolumn plugin to resize
images as they are loaded. When I try, using the console, to rotate an