similar to: file_column imagemagick strangeness

Displaying 20 results from an estimated 1000 matches similar to: "file_column imagemagick strangeness"

2006 Feb 14
0
RoR BSD setup, file_column / Rmagick "invalid image"
So ive recently finished up my first RoR application and made sure it all worked right on the windows machine i developed it on. then deployed it on GeekISP.com which runs Open/Free BSD. I had to jump through a few little hoops to get it working and set the permissions for file_column to create directories, but it still doesnt work right. When i go to add a new item to the database and try
2006 Feb 15
0
file_column / Rmagick "invalid image" when image is valid
So I''ve recently finished up my first RoR application and made sure it all worked right on the windows machine i developed it on. then deployed it on GeekISP.com which runs Open/Free BSD. I had to jump through a few little hoops to get it working and set the permissions for rails to create directories, but it still doesnt work right. When i go to add a new item to the database and try
2006 Apr 07
4
file_column and animated gifs
hi, is it possible to resize animated gifs with file_column? if i upload an animated gif file with file_column than the animation no longer exists... -- Posted via http://www.ruby-forum.com/.
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it says: A TypeError occurred in [controller]#[action]: can''t convert Magick::GravityType into Integer [RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in `crop'' Any advice? Here''s the backtrace: [RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in `crop''
2005 Dec 02
1
Rmagick/File Column Problems
I am having trouble getting Rmagick and File Column working on a new server. I thought I got everything installed but File Column is giving me errors: NameError (uninitialized constant Magick): /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dep endencies.rb:195:in `const_missing'' /vendor/plugins/file-column-0.3/lib/magick_file_column.rb:8:in
2006 May 01
3
RMagick question ?
I have a file rmg.rb: require ''RMagick'' include Magick cat = ImageList.new("prod.jpg") cat.display exit The file prod.jpg is in the same directory as this file above. I execute the following: ruby rmg.rb I get the following output: /usr/lib/ruby/1.8/RMagick.rb:1377:in `read'': unable to open image `'': No such file or directory:
2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take the image file and read it into rmagick to verify that it''s an image. For some reason I can''t catch an exception thrown by rmagick inside the app. After an invalid image file is uploaded the process just hangs. I have to kill mongrel and restart to use the app again. img =
2006 Oct 18
4
Segmentation bug - file_column?
Hi there everybody, We''re having mongrel processes slowly die on us, with a segmentation fault. I''ve seen a few other people mention similar issues. Any info or suggestions would be nice: Error: /var/www/apps/heritage/current/config/../vendor/plugins/file_column/ lib/magick_file_column.rb:7: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-linux] Server:
2005 Sep 09
5
file_column: patched for imagemagick and validation
Hi all, I patched file_column to add imagemagick transformations of uploaded content. I added an options hash, and it takes the :magick and :format keys. :magick is a string of imagemagick command line options for convert (Reference: http://www.imagemagick.org/script/convert.php). Format is an optional extension for the finished image. If Imagemagick recognizes the extension, then it will
2006 Jan 04
9
Family Connection 1.0
This is a follow-up announcement from the 0.9 release. There are no major changes, but this release marks a downloadable (tgz) file as well as a promotional website, a demo application and screenshots. Family Connection is an easy-to-setup online hub for your family that includes a Family News section, and an Address Book. http://familyconnect.rubyforge.org/ Please note that the download
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads are working fine. However, when I try and use the :magick options to make resized versions, WEBrick dies. This is the Media model: class Media < ActiveRecord::Base file_column :media_item, :magick => { :versions => { :thumb => {:size =>
2006 Mar 08
3
file_column Cropping -> image offset information
Hello, I had a problem cropping images with file_column. These are my settings: file_column :image, :magick => { :versions => { :thumb => "80x80>", :medium => "150x150>", :square => { :crop => "1:1", :size => "50x50!" } },
2006 Mar 23
1
Using ImageMagick with Locomotive
Hi, I''m trying to use the routines on this page: <http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/> to try and rotate some images. I tried using the script/console to do some testing, - I know ImageMagick is working, as I''m using the filecolumn plugin to resize images as they are loaded. When I try, using the console, to rotate an
2006 Aug 12
5
Rmagick not handling GIF files properly...
Tracked down the source of my problem... It seems that Rmagick isn''t properly cropping/resizing GIF or PNG images when uploaded via file_column. I can upload JPG files just fine. Originally I had installed ImageMagick via Debian''s apt-get and built the rmagick gem using "gem install rmagick". This wasn''t working so I uninstalled ImageMagick and tried to
2016 Aug 08
1
[PATCH] sparsify, v2v: use Common_utils.absolute_path
Use the common function for ensuring a path is absolute; it should not change the behaviour at all. --- sparsify/cmdline.ml | 6 +----- v2v/input_disk.ml | 4 +--- v2v/input_ova.ml | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sparsify/cmdline.ml b/sparsify/cmdline.ml index 3eb0d5b..523d612 100644 --- a/sparsify/cmdline.ml +++ b/sparsify/cmdline.ml @@ -142,11
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 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
2005 Dec 19
3
RMagick Resizing Issue
Hello ~ I have RMagick and file_column working in RoR. In my model I am setting up some standard sizes for the submitted photos. The photo files are created and named correctly, but the sizes are wrong. Only the second argument of my geometry call is used, with the width dimension being resized proportionately. file_column :image, :magick => { :versions => { "medium" =>
2007 Jul 25
3
Using system() to execute a script outside of Rails but in a directory in the Rails app...
I''m trying to hack around a previously mentioned RMagick problem, confirmed to exist inside of Rails but not outside. Thus, I''d like to call a Ruby script from with in a Rails controller. Like so: system("#{RAILS_ROOT}/public/images/thumb_and_comp.rb", "#{@asset.file_name}") But it never seems to get executed. Permissions are set to 755 on the script. Any
2010 Apr 30
12
Can't seem to install RMAGICK on Ubuntu Karmic Koala
hi guys, I have been trying to install Rmagick on ubuntu karmic koala for a day. Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick). The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ): -------------------- Extract start