Displaying 20 results from an estimated 500 matches similar to: "MiniMagick... Core Dump when Reszing Images?"
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 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 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/.
2009 Jan 29
7
Installed gems aren't installed
Like the subject says, I''ve got a really weird problem.
A co-worker added a couple of gems to our rails project. I installed
these gems on my machine (a macbook, os x 10.5.6), start the server,
and it says it can''t find these gems:
=============
Missing these required gems:
mini_exiftool = 1.0.1
mini_magick = 1.2.3
You''re running:
ruby 1.8.6.114 at
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
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 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all,
I am having trouble getting R to take pnm images via mogrify
i.e.
mogrify -resize 320x217 -format pnm *.png
However R via pixmap says that it can't read the file. If you have
any ideas like a package that can read jpeg files, etc., I would
appreciate it.
Best wishes,
Art Roberts
University of Washington
2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages
362-365. I''ve successfully loaded the Picture object to the database,
but I come unstuck when trying to replicate this for a thumbnail version
of the original image:
thumbnail = Thumbnail.new
thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything
works perfectly except the thumbnail column in my DB is alwas NULL.
I''m using S3 as my storage system. Anyone else having this issue with
thumbnails?
has_attachment :content_type => :image,
:storage => :s3,
:max_size => 500.kilobytes,
:resize_to =>
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is
2015 May 18
4
How best to get around shadowing of executables by system()'s prepending of directories to Windows' PATH?
My question:
On Windows, R's system() command prepends several directories to those
in the Windows Path variable.
>From ?system
The search path for 'command' may be system-dependent: it will
include the R 'bin' directory, the working directory and the
Windows system directories before 'PATH'.
This shadows any executables on the Path that share a
2010 Apr 01
2
paper clip plugin error
coming this error in my paper clilp plugin m getting this error
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
hrithik_roshan1,3756,1.jpg is not recognized by the ''identify''
command.
* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/
2009 Oct 15
1
ImageMagick not seen by movie3d function from rgl package
Hello R-users,
I have downloaded and installed a binary version for Windows OS of ImageMagick (ImageMagick6.5.6-10-q16-windows-dll.exe), I have installed the rgl package and i've tried running the following example from ?movie3d()
library(rgl)
open3d()
plot3d( cube3d(col="green") )
M <- par3d("userMatrix")
play3d( par3dinterp( userMatrix=list(M,
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
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
2007 Dec 05
1
rake error - please help
Hi-
I''m suddenly getting this rake error where as before I wasn''t. And
nothing''s been changed. As you can see it says something about
"load_missing_constant". Is my development environment broken? Can
someone please tell me what this error means?:
bbgun@echobase:~/RailsProjects/rails_space$ rake test:functionals
(in /home/bbgun/RailsProjects/rails_space)
2007 Jul 22
3
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got
mini_magick installed, but everytime I try Mike Clark''s tutorial, I
get the error ''Size is not in the list''. I found some people fixed
this by putting a sleep statement in their controller, but this didn''t
work for me. Any help out there?
2007 Apr 22
7
Getting a complete URL from Rails
Hello,
I''m sending out an e-mail message to new users of my service. I want
to send a particular link in this e-mail but I can''t figure out how to
get a complete URL from the url_for method. Is there a way to do this
without manually setting the host name?
Thank you,
-- Miles
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2024 Jun 23
1
Issue with pkgconf when upgrading to 4.4.1
Hi all,
I am running Ubuntu 20.04.6 (focal) (yes, planning to upgrade soon) and just updated to 4.4.1. However, the process did not quite go as smoothly. 'sudo apt upgrade' ran but 'r-base-dev' was not updated because of a dependency issue:
[08:57] ? wviechtb at wv-x5 ? ~/ ? sudo apt upgrade r-base-dev
Reading package lists... Done
Building dependency tree
Reading state