search for: minimagick

Displaying 20 results from an estimated 33 matches for "minimagick".

Did you mean: mini_magick
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 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...
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 `minimagick'' for main:Object (Name Error) Anyone can help this out? Thanks in Advance...
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 imag...
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 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 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...
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 fold...
2008 Jul 07
6
MiniMagick, and processing thumbnails...
.... I''ve ended up doing this after the main photo model has been saved: [ @photo.public_filename, @photo.public_filename( :thumb ), @photo.public_filename( :medium ), @photo.public_filename( :large )].each do |path| path = "#{RAILS_ROOT}/public/#{path}" file = MiniMagick::Image.from_file( path ) file.combine_options do |i| i.gravity ''center'' i.bordercolor ''black'' i.border 1 i.bordercolor ''white'' i.border 10 end file.write(...
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 Aug 07
4
Memory leak?
I am using BackgrounDRb to resize images after they are accepted into our system. However, it has become clear that this creates a memory leak. I''m not sure exactly where the leak exists, but I don''t think it''s in my own code as it is presently being used in production and has resized thousands of images without a leak occurring, thanks to calling GC.start
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
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? Exampl...
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? -- Posted via http://www.ruby-forum.com/....
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything works perfectly except the thumbnail column in my DB is alwas NULL. I''m using S3 as my storage system. Anyone else having this issue with thumbnails? has_attachment :content_type => :image, :storage => :s3, :max_size => 500.kilobytes, :resize_to =>
2006 Apr 11
8
Ruby 1.8.4, Rails 1.1 and Rmagick?
Someone mentioned that Rmagick doesn''t work properly on this setup (Ruby 1.8.4, Rails 1.1) Is this true? -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060411/432e8113/attachment.html
2006 Aug 01
2
tab characters with Rails 1.1 on Windows
We just upgraded to Ruby 1.8.4 and Rails 1.1. It works fine on my Mac OSX, but in Windows, Rails spits out errors like "Invalid char `\002'' in expression". Apparently, Ruby or Rails on Windows has a problem parsing tab characters. This seems to be a common problem: http://softiesonrails.com/articles/2006/04/27/spaces-not-tabs However, the only recommended solutions seems
2009 Jan 19
3
Attachment_fu: save to a default format
Hi, would anyone have any advices on the next? I allow users to upload images to my app. I''m using attachment_fu and MiniMagick. There''s two things that I''d like to do: 1- No matter what format the original file is I''d like to save it in jgp format. 2- I want to keep all images limited to say 1000px width, so resize if they are bigger. Is there a way to do that without much hassle? Thanks. --...
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/.
2007 Mar 28
3
attachment_fu Not Resizing
Hello, Recently attachment_fu stopped resizing images for me. I''m puzzled because before today it was resizing them and I don''t know what''s changed. Here''s my code: class Product < ActiveRecord::Base has_attachment :content_type => :image, :storage => :file_system, :max_size => 18.megabytes,