search for: mini_magick

Displaying 20 results from an estimated 21 matches for "mini_magick".

2009 Jan 29
7
Installed gems aren't installed
...''ve got a really weird problem. A co-worker added a couple of gems to our rails project. I installed these gems on my machine (a macbook, os x 10.5.6), start the server, and it says it can''t find these gems: ============= Missing these required gems: mini_exiftool = 1.0.1 mini_magick = 1.2.3 You''re running: ruby 1.8.6.114 at /System/Library/Frameworks/Ruby.framework/ Versions/1.8/usr/bin/ruby rubygems 1.3.1 at /Users/mcv/.gem/ruby/1.8, /Library/Ruby/Gems/ 1.8, /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ ruby/gems/1.8 ============= Run `r...
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
...s in the log files. Has anyone seen anything like this before? I''ve been banging away at it for a while. Thank you, -- Miles PS: I am currently using... FreeBSD 6.1 Apache 2.2.4 MySQL 5.0.41 ImageMagick 6.2.9 Ruby 1.8.6 Rails 1.2.3 Mongrel 1.0.1 Mongrel_Cluster 0.2.1 Mini_Magick 1.2.0 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group...
2006 Sep 13
4
Mini_Magick Problem
...eight}" image.resize(dimensions) image.write(path) The second I variablize the parameters the whole thing freaks out with this error: ImageMagick command (mogrify -width "/tmp/minimagic6355.0") failed: Error Given 256 Anyone have any ideas? I like the idea of using mini_magick for the smaller memory footprint, but much more of this and I need to go to RMagick. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....
2007 Feb 14
0
mini_magick processor for attachment_fu - HELP
...interest some people here who are have problems with rmagick or image_science. rmagick is causing large memory spikes for my application and my host will not install image_science, I tried out image_science locally and the thumbnails it produces are too blurred anyway. So if you are interested in mini_magick for attachment_fu head over to the beast forums and check out my inept attempt at creating a processor. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, sen...
2006 Nov 14
16
memory issues -- mongrel part of the problem?
...rver is regularly paging (and shouldn''t be). ssh-ing in and running top shows these two mongrel processes taking up about 80% of the 1 gig of system memory. the only interesting thing the application is doing is storing photos in the database and resizing the photos on the way out using mini_magick. Once the photos are delivered once they are cached using rails page caching (i''m positive the caching is working, production.log says so). So, at this point the site should only be delivering images from the cache (which is currently on disk) apache isn''t serving the images, mo...
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
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 --
2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages 362-365. I''ve successfully loaded the Picture object to the database, but I come unstuck when trying to replicate this for a thumbnail version of the original image: thumbnail = Thumbnail.new thumbnail.name = ''thumbnail_'' + @picture.name.to_s
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...
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 =>
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
2007 Jul 22
3
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got mini_magick installed, but everytime I try Mike Clark''s tutorial, I get the error ''Size is not in the list''. I found some people fixed this by putting a sleep statement in their controller, but this didn''t work for me. Any help out there? --~--~---------~--~----~----------...
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
...2.5.0) cgi_multipart_eof_fix (2.5.0) columnize (0.3.0, 0.2) daemons (1.0.10) fastthread (1.0.1) fxri (0.3.7) fxruby (1.6.19, 1.6.18, 1.6.17, 1.6.16) gem_plugin (0.2.3) highline (1.5.1, 1.5.0, 1.4.0) hoe (2.0.0, 1.12.2, 1.11.0, 1.8.3, 1.8.2, 1.8.0) htmlentities (4.0.0) linecache (0.43) log4r (1.0.5) mini_magick (1.2.5, 1.2.3) mongrel (1.1.5) mongrel_cluster (1.0.5) mongrel_service (0.3.4) mysql (2.7.3) needle (1.3.0) net-scp (1.0.2, 1.0.1) net-sftp (2.0.2, 2.0.1) net-ssh (2.0.11, 2.0.9, 2.0.8, 2.0.6, 2.0.4) net-ssh-gateway (1.0.1, 1.0.0) newgem (1.4.1, 1.3.0, 1.2.3, 1.2.1, 1.2.0) ptools (1.1.6) rails (2.3...
2009 Jul 20
9
rake error
....12) eventmachine (0.12.8) faker (0.3.1) fastercsv (1.5.0) fastthread (1.0.7) flay (1.3.0) flog (2.1.2) gchart (0.5.0) gem_plugin (0.2.3) haml (2.2.0) highline (1.5.1) hoe (2.3.2) hpricot (0.8.1) javan-whenever (0.3.1) jscruggs-metric_fu (1.1.1) linecache (0.43) memcache-client (1.7.4) metaid (1.0) mini_magick (1.2.5) mislav-will_paginate (2.3.11) mocha (0.9.7) mojombo-chronic (0.3.0) money (2.1.3) mongrel (1.1.5) mysql (2.7) net-scp (1.0.2) net-sftp (2.0.2) net-ssh (2.0.11) net-ssh-gateway (1.0.1) nokogiri (1.3.2) notahat-machinist (1.0.3) polyglot (0.2.6) prawn (0.5.0.1) prawn-core (0.5.0.1) prawn-form...
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/.
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 c...
2007 Jan 03
1
Square thumbnails are blurred
Hey I''m using mini_magick to create some square thumbnail using the following code... image.resize ''x200'' image.resize ''200x<'' image.resize ''50%'' image.gravity ''center'' image.crop ''100x100+0+0'' image.write(&qu...
2007 May 01
1
ruby execute script
Hi everyone I''m trying to use scripts like ghost script and imagemagick Can ruby call this script? I looking for something like exec("convert sample.pdf sample.jpeg") thank you -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
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
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,