Displaying 20 results from an estimated 4000 matches similar to: "uninitialized constant Magick Please help!"
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''
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 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 Feb 03
3
File_column and rmagick options
Hi,
Currently I''m using the file_column plugin to upload images and save
multiple copies of each at 3 different resoltions:
file_column :name, :magick => {
:versions => { "thumb96" => "96x150>", "medium250" =>
"250x400>", "large480" => "480X640>" }
}
I am wondering if
2006 Feb 28
6
File_column, RMagick, and watermarking
I''m working on a photo gallery and I''m using File_column to handle the
uploads of the files and create my thumbnails, but does anyone here have
any idea how to have a watermark (opaque text maybe) placed over one of
the versions? Any ideas on how to go about this would be great. Even if
it''s just straight RMagick code, that would be fine too.
Thanks in advance for the
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" =>
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 =>
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''
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
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/.
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first
end
end
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
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 Apr 24
7
ImageMagick/Rmagick replacement?
Hi, everyone!
I have been recently hit by ImageMagick/Rmagick memory leak issues.
I know I can lesson the problem by manually starting up GC each time
I use Rmagick library but ImageMagick seems to use way too much
memory nevertheless. (on shared hosting setup anyway)
Is there a decent replacement for ImageMagick library? I used to
think ImageMagick was quite efficient because its
2006 Jun 01
9
Image upload
ok, im done, the plugins file_column and acts_as_attachment doesnt seems
to work for me, i want a simple thing, upload images, resize it to 216px
width, save its filename to a table and save the file to the
/public/images directory, i have searched a lot but all the examples are
too complex, im starting with rails.
If someone can post a example code for the view, controller and model(if
any)
2006 Apr 23
2
file_column and Thumbnails
I see that the SVN version of the excellent file_column plug-in can create
thumbnails using the url_for_image_column helper.
This uses Rmagick to create the thumbnail... Quick question...
Let''s say the file is a TIFF image - can the helper create a JPG version of
the thumbnail for display in the browser?
Curious if the plug-in can handle that transform with some creative use of
the
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 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!"
}
},
2007 Feb 01
2
file_column 2nd try....
Looks like my first question a couple of days ago wasn?t very clever
asked, at least very sucessfull....
So, anyway...i will try it again:
I have to prefix that I am far away from fully understanding the overall
concept yet, and there?s no way to get some hints in the www so far, at
least my resaerches dont lead to any helpfull stuff.
image_controller.rb:
def create
MiddleMan.new_worker
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: