similar to: error resizing image using minimagick

Displaying 20 results from an estimated 4000 matches similar to: "error resizing image using minimagick"

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 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 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 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
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 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 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 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/.
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}"
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 =>
2006 Mar 17
4
using ajax and layouts
Hi. I copied the layout-example from agile web dev. in rails. When I want to use ajax to create a search field including <head><%= javascript_include_tag "prototype" %></head> does''nt work when I include the line in my app/views/layout/demo.rhtml. Name of controller is demo_controller.rb. The search-field is in app/views/demo/observer.rthml and I have to
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 Mar 05
4
Resizing images and creating thumbnails
Hi, 1. How to resize an image uploaded by a web form before saving it to the disk? (i need all uploaded images to have similar size) 2. How to create thumbnails? Is it enough if i specify small size of the image in html or would the image look horrible? Can i do it somehow in ''realtime'' using javascript? Or is it best to create thumbnail as a separate file? 3. How to get
2006 Jun 30
1
delay displaying rmagick resizing of uploaded images
Hi, I am using rmagick to resize a copy of uploaded images and display the copy as a thumbnail. Once the upload is processed it redirects the user to a page that should display the thumbnail to the user. The problem is that the rmagick resize function seems to keep going in the background after handing the new images url (and control) back to rails, which then happily renders the page with
2006 May 19
9
Resize uploaded image file without creating temp file?
Hi, I need to take a single uploaded image file and save three resized versions of it, a thumbnail, normal and large version. I was planning on doing this in my model by having an array of geometry strings and looping through them, each time saving a new image object resized to the correct geometry. I know that file column does similar stuff, but I would prefer to have a separate database row
2007 Oct 16
8
nfs-ownership
Hi. I have created some zfs-partitions. First I create the home/user-partitions. Beneath that I create additional partitions. Then I have do a chown -R for that user. These partitions are shared using the sharenfs=on. The owner- and group-id is 1009. These partitions are visible as the user assigned above. But when I mount the home/user partition from a FreeBSD-client, only the top-partiton has
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/.
2006 Jan 20
2
Creating thumbnail on the fly
I was doing some research about creating thumbnail images on the fly after an image has been uploaded in a form, but for some reason it''s not working for me. I''ve downloaded ImageMagick 6.2.5 for Mac but when I run a test (identify image.gif) it gives me this error: dyld: Library not loaded: /sw/lib/libjpeg.62.dylib Referenced from: /Developer/ImageMagick-6.2.5/bin/identify
2007 Jan 19
0
Fleximage get a resized thumbnail
I am using for the first time the Fleximage plugin... good, I can upload and resize images on the fly before storing them.. User has-one Image I need to get a very small thumbnail to be stored directly into a tinyblob field of the user record... , I know Fleximage is able to produce thumbnails, but regarding performance I''d prefer to store the thumbnail direcly into the user record...
2008 Jul 29
1
can't crop images using ImageMagick
I''m using Attachment_Fu to save several thumbnails of a photo (resizing with ImageMagick) But when I try to crop them, nothing seems to happen to the file I want to drop and no error messages. I check the file timestamp of the thumbnail I want to crop and it looks updated. What''s strange is that ALL the other thumbnails and the original image''s file timestamps are