similar to: Minimagick issue writing resized file

Displaying 20 results from an estimated 1000 matches similar to: "Minimagick issue writing resized file"

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 =
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 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 or directory. This happens both locally and on my host.
2006 Nov 04
0
RJS not setting form input value correctly
Good day. I have spent almost 2 days on this issue. I have asked everyone from my Rails expert to my Javasript expert and we can not for the life of us figure out the issue with this one form element. I have a form which contains several readonly/disabled (firefox/ie) form elements. ALL elements in the form are updated correctly EXCEPT this one form element. The form element in the view looks as
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
2007 Jun 29
1
attachment_fu validation error
I have this class: class Logo < ActiveRecord::Base has_one :something has_attachment :content_type => :image, :storage => :db_file, :max_size => 500.kilobytes :thumbnails => {:web => ''150x100'', :pdf => ''150x100''}, :processor =>
2005 May 31
11
More Tests for 2.4.0-RC2 - strange behaviour
Hi all, I was trying to test ROUTE specific code with a multi-isp serviced box. There is a bug somewhere, but I''m not able to understand what the real problem is: when I issue a "shorewall show capabilities" I get: Loading /usr/share/shorewall/functions... Processing /etc/shorewall/params ... Processing /etc/shorewall/shorewall.conf... Loading Modules... Shorewall has
2004 Jan 08
3
pictorG
Hi! Attached is the current version of my image organizing program. If you dbl-click on a thumbnail, it will show the image (1:1 zoom) in a dialog, and eat some memory.... Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
2007 Feb 02
0
Fwd: [ mocha-Bugs-7834 ] infinte_range.rb makes incorrect assumption about to_f
Thanks for reporting the bug below. You''re absolutely right. Renamed Range#to_s implementation to #mocha_inspect and checked first and last respond_to?(:to_f) as you suggested. Sorry for the delay - I wasn''t monitoring the rubyforge trackers. I am now! Should be fixed in revision 99 of trunk. -- James. http://blog.floehopper.org ---------- Forwarded message ---------- From:
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
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
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
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes become their own unique images.. by way of simulating an upload from the controller using attachment fu.. can''t quite figure out the specific method in fu that would allow me to do this.. I''m so near the edge right
2008 Mar 14
0
problem with rjs and marker group
Lo there all, i have a function that builds a bunch of markers to go on a google map. I would like to update them with rjs. Here is what i have so far. def map_main_layout @zoom = params[:zoom].to_i @zoom = 14 if params[:zoom].nil? @map = GMap.new("map_div") # @map.control_init(:large_map => true, :map_type => true) # (inserts map control) # place
2011 Feb 09
4
Modules being shared and model data
Have in a module in ./lib: module Pricing def sell_price (cost.to_f)/((100-(margn.to_f))/100) end def sell_price_inc ((product.cost.to_f)/((100-(product.margn.to_f))/100)*1.14) end def charge_excl (sell_price).to_f * quantity end end A model product: class Product < ActiveRecord::Base include Pricing attr_accessible :name, :code, :cost, :company_id, :margn
2010 May 28
3
how to create automatically names for vectors in a loop?
Hi, I want to generate a number of vectors and store them with different names, like this: x=1 while (x<100) { vector#x# = rnorm(100) x=x+1 } where each vector has, at its hand, instead of #x# a number which goes from 1 to 99. How can I do this? Thanks Gabriele Zoppoli, MD Ph.D. Fellow, Experimental and Clinical Oncology and Hematology, University of Genova, Genova, Italy Guest
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,
2008 Oct 29
0
RJS problem after upgrading to Rails 2.0.2
I just updated an old app from 1.2.6 to 2.0.2 and I''m having an rjs problem. I have one page that has 2 submit to remote buttons, one to do a price override and the other to remove the lineitem. Everything is working perfectly before the update but now the price override doesn''t update the page. I''ve verified that the price_override method still gets called because