similar to: Minimagick and RoR

Displaying 20 results from an estimated 10000 matches similar to: "Minimagick and RoR"

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
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 Oct 23
0
MiniMagick Gem
I have just started using the minimagick gem, as RMagick was giving me the usual problems and eating up too much memory. So far, it works just fine except for one thing. The server allows gives me the following error: mogrify: unable to open module file `/usr/local/lib/ImageMagick-6.2.8/modules-Q16/coders/0.la'': No such file or directory. This happens both locally and on my host.
2014 Apr 09
0
How can I convert an ImageMagick shell script for use in my RoR project?
I'm creating a project that lets users upload images onto products and then buy the products. I'm using Carrierwave and Minimagick. I found this cylnderize script on fmwconcepts. It's a shell script. It is literally perfect for what I need as a lot of the products are mugs. Does anyone know how I might be able to convert the script into minimagick code I can use in my controller? --
2008 Jul 07
6
MiniMagick, and processing thumbnails...
I have a requirement that can''t be that outrageous.... I want to be able to upload an image, and have multiple thumbnails be created for each. Then, I want to post process each image (the main image plus the thumbnails) to add borders. The trick is that the borders need to be different for each image. I thought I could use the after_resize handler, but when I try to add a border to
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
2007 Aug 10
2
uninitialized constant MiniMagic (NameError)
Hi, Mini-Magick breaking. I have installed mini-magick gem. Here is my sample program require ''rubygems'' gem ''mini_magick'' include minimagick image = MiniMagick::Image.from_file(''./fun.jpg'') image.resize "100x100" image.write(''./funthumb.jpg'') Output: test.rb:3: undefined local variable or method
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/.
2009 Nov 06
2
mini_magick - 2 clarifications
1. I have seen examples similar to the following: image = MiniMagick::Image.from_file("input.jpg") image.resize "100x100" image.write("output.jpg") I''m assuming that image.resize is a method. Is there any significance to the fact that the argument for that method is not enclosed in parenthesis while the other are? Examples seem to be consistent --
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 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 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
2005 Oct 11
1
RoR on Apache
I used generate/scaffold to create simple CRUD screen that works perfectly with Webrick. I wanted to attempt to run the same ROR app on Apache. I followed the instructions found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP with the alternate ending found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit hout+VirtualHosts. I have
2008 Jan 05
0
attachment_fu + mini_magick troubleshooting
I''ve got a model with :has_attachment with content of image type. When I''m trying to save an image, the following line in the log appears: Exception working with image: ImageMagick command (identify "C:/ WINDOWS/TEMP/minimagick2860-0") failed: Error Given Minimagick is installed properly or seems to be. At least, all mini- magick tests except those with some php-file
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 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
2006 Mar 02
1
calling RoR from command line
Hi. I''m calling a script from the command line using script/runner. The script registers some files which are manipulated using ImageMagick''s tools. The script uses today''s date to scan a directory. Sometimes I need to scan a directory which dates two-three days back. I tried to use the following code which does *not* work: time = Time.now @date =
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/.
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help I want to display an image file in a new plot frame. SVG is my preferred format, but I can also consider PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick). By way of background (although not material to this posting), the image file is generated by a call to 'dot' (part of the 'Graphviz' suite) after the required .dot file has been produced using hand-crafted R code.
2012 Jul 09
0
Hiring RoR / PHP / Java Web Developers to work on RoR Development and Mid Management at Chennai
Hi – We have immediate requirement for 50+ RoR developers and Mid management professionals for our customer at Chennai. Please send your CVs to deepak.j-u/jeiSQQFGzBGafMEABhkUSAudeF6Ab9@public.gmane.org at the earliest. Below are the details of the requirement: Developer Level Qualification: B.E / B.Tech / MCA [Computer Science/IT background Preferred] Experience: 2-5 years experience in RoR, PHP