search for: magicks

Displaying 20 results from an estimated 211 matches for "magicks".

Did you mean: magick
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m looking around at the libraries available to do this sort of thing and there are three that look promising. ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html Mini-Magick -- http://rubyforge.org/projects/mini-magick/ RMagick -- http://rmagick.rubyforge.org/ It looks like a lot of people are
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2007 Nov 07
7
Help on loop
Hey, I have got a script that returns a long list of font family names, which I all want to store in a variable (array). I tried doing this with @f = font.family also in the for loop below but it only prints the last item when I want to display the results. require ''rubygems'' require ''RMagick'' include Magick for font in Magick.fonts puts font.family end
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there, I''d like to use RMagick to watermark an image in the tmp directory before Attachment_fu saves it to Amazon S3. I took a look at the callbacks available in attachment_fu. There''s an ''after_attachment_saved'' method but this would be too late, and a ''before_thumbnail_saved'' but this is no good because it''s for thumbnails. I
2006 Mar 08
2
Creating new Magick::Image from uploaded data
Hi! Is it possible to create a new instance of Magick::Image out of uploaded data via file input? Now i save my file to the disk, then read it to create an instance of Magick::Image, resize it and save it again. -- Posted via http://www.ruby-forum.com/.
2006 Mar 15
1
file_column imagemagick strangeness
Hi, I''m using the basic magick features of file_column, and while files are uploading fine without the magick options, as soon as I do something like :magick => { :size => "400x600" } I get an ''invalid file'' error. Further investigation reveals that the file is in fact invalid because something somewhere is truncating the file path:
2006 Apr 18
1
Anyone get mini-magick plugin working on windows?
Ruby 1.8.4, mini-magick 1.1.0, ImageMagick-6.2.7-0-Q16-windows-dll.exe. I downloaded and installed the mini-magick plugin into my vendor/rails directory. When I try to start webrick it fails, but it does not display any errors. It just simply returns me to the command line. "Ruby script/generate model test" won''t even work. It acts the same way. It doesn''t throw any
2003 Oct 30
1
Freebsd ( PHP + gzip module + install image magick ) Email Contact Included!
Sorry about the double post. I forgot to include my email address in the post directly! Please contact me if you can do this: [ ethanakins @ hotmail.com ] ================ Hello, I am running FreeBSD 4.6-RC2 and need to have php compiled with the gzip module and also have the latest version of image magick installed. I have already tried to install "image magick" alone and it puked
2009 Jan 12
2
about magick library
hi.. I am using attachment_fu in my project i want to know that which of following library is good please help me 1>imagemagick 2>RMagic -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2006 Feb 21
4
File_Column w/ Dynamic Sizing
I''m running file_column 0.3.1, and having a few problems... which are: - Uploading a 378x567 jpg, and using :magick => {:geometry => "100x100" }, my image ends up being 67x100 ? Is there a way to "force" the image to be the size you specify ? - My view has a drop-down of sizes, and I''m trying to pass in this size into :magick =>
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 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The deployment machine (Fedora Core 5) can''t find RMagick unless I change the "require" syntax from that used on the dev machine (OS X). And the dev machine doesn''t like the syntax that works on the deployment server! To wit: [OS X] $ script/console Loading development environment. >> require_gem
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 May 17
2
uninitialized constant Magick Please help!
Dear Rail experts, thank you for such a resourceful list. I am working on an application using Rails 1.1 [REVISION=4240] whereas my server has Rails 1.0 installed. I recently decided to give file_column a try and everything works fine except I am getting the following error: "uninitialized constant Magick" I have tried setting environment variables,
2006 Jul 19
0
Magick::GravityType Error
Trying to get an app up and running using file_column on Dreamhost, I run into this error on submitting an image to upload: can''t convert Magick::GravityType into Integer #{RAILS_ROOT}/vendor/plugins/file_column/lib/magick_file_column.rb:90:in `crop'' ... I half thought I found the hosting provider specific error in googling and finding this thread:
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi, I''m on Windows and getting the following error while trying to use file_column with RMagick, uninitialized constant Magick C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' #{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in `file_column'' I installed file_column by
2006 Mar 02
0
path problem with file_column and :magick options
Hi there, I''m having some problems wityh the :magick options in file_coumn and wondered if anyone else had any similar ones: basically, file_column is working fine for me as is, but whenever I try to do an automatic resize or thumbnail I get the error ''invalid image''. It seems to be a path issue as I get: unable to open image
2003 Oct 30
0
Freebsd ( PHP compiled with gzip module + install image magick ) 10-30-03
Hello, I am running FreeBSD 4.6-RC2 and need to have php compiled with the gzip module and also have the latest version of image magick installed. I have already tried to install "image magick" alone and it puked while running 'make install'. Testing will need to be done on your server and once all install errors are fixed you can email us your solution! This is very
2009 May 25
0
NameError (uninitialized constant FileColumn::Magick::ImageList
Hi, I have been using RMagick and File Column in my app together without a problem, but when I tried to add in some new functionality in my model where I use file_column, I got the error in the subject line. The offending line in my code is: image = Magick::ImageList.new(path_to_image) Has anybody ever seen this problem when using the two libraries together? I have tried adding in a require
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: