Displaying 20 results from an estimated 200 matches similar to: "webrick slows and crashes on thumbnail creation"
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 Jan 04
1
rmagick working in console but not in my app
hey all,
When I do this in script/console I get:
>> require ''RMagick''
=> true
>> include Magick
=> Object
>> f = Image.new(100,100) { self.background_color = "red" }
=> 100x100 DirectClass 16-bit
>> f.crop_resized(50,50)
=> 50x50 DirectClass 16-bit
But in my application I keep getting the same error as if rmagick was
not
2011 Jan 02
1
Clusteranalysis Chi-square test and SingleLinkage
Hi
The short version of my questions is this:
How can I run a chi-square test over a matrix (table) to get the distanaces
between rows and then run a SingleLinkage (or other fusion algorithm over
the resulting table?
------------
The long-version of my question:
My data consists of different data of different countries so I have stuff
like how many people can read, write in X,Y,Z countries
2006 Jan 11
0
File_column : how can I resize/convert/whatever an image according to form-submitted values?
Hi guys,
I want to have a file upload form which would allow the user to ask for
certain transformations of the image before saving it - most importantly, to
resize it.
Now, how can I make an instance of FileColumn enabled model process these
imagemagick instructions?
My model looks looks somewhat like :
class Image < ActiveRecord::Base
attr_accessor :resize_dimension, :resize_to
2011 Nov 15
1
Borland C++ Builder TForm->Show() problem
Hello, all!
My program is written on Borland C Builder 6
Not properly method TForm-> Show () works;
And on operational system Ubunto 10.10 it works properly, and already in Ubuntu 11.10 method TForm-> Show () works not properly.
Elements of a window receive focus of input from the keyboard, and the window remains not active!
The heading of a window and is not painted in color of an active
1999 Dec 10
0
snprintf from postgresql
/*
* Copyright (c) 1983, 1995, 1996 Eric P. Allman
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of
2005 Aug 22
0
R-help Digest, Vol 30, Issue 22
Re: A. Mani : Avoiding loops (Petr Pikal)
> Message: 9
> Date: Mon, 22 Aug 2005 06:40:45 +0200
> From: "Petr Pikal" <petr.pikal at precheza.cz>
> Subject: Re: [R] A. Mani : Avoiding loops
> To: "A. Mani" <a_mani_sc_gs at vsnl.net>, r-help
> <r-help at stat.math.ethz.ch>
>
> On 20 Aug 2005 at 3:26, A. Mani wrote:
>
> > On
2007 Apr 28
0
[978] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Fix crazy crashers on MSW; fix scrolling/drawing position; safe path to bitmap
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2011 Feb 22
0
Re: iproute 2010-2011 - tree problem (udp, quid, action police + action mirred)
On Tue, 22 Feb 2011 11:15:39 +0100
"PIOTREK H." <komarekmz@tlen.pl> wrote:
> Welcome
>
> I have a problem with the new iproute "iproute2-2.6.37.tar.bz2 07-Jan-2011 9:18 (the problem from version 2010 to 2011).
> Three problems:
> a) with filters for UDP traffic
> problem affects only the queuing traffic to the machine on which you work qos
> In the case
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone
knows why? Great Thanks!
With GD 1.0 I got:
========================================================
RuntimeError
unknown symbol "gdImageSquareToCircle"
RAILS_ROOT:
/home/virtual/site1/fst/var/www/html/imodesite/public/../config/..
Application Trace | Framework Trace | Full Trace
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/.
2012 Feb 21
2
Dataframes in PLS package
I have been working with the pls procedure and have problems getting the
procedure to work with matrix or frame data. I suspect the problem lies in
my understanding of frames, but can't find anything in the documentation
that will help.
Here is what I have done:
I read in an 10000 x 8 table of data, and assign the first four columns to
matrix A and the second four to matrix B
pls <-
2008 Apr 10
3
New to ruby, Need help
I''m attempting to make a simple program, just combine two images and
output a .jpg file. Here''s what I have:
class PicController < ApplicationController
require ''RMagick''
def index
im1 = Magick::Image.read(''1.jpg'') {self.size = "81x81"}.first
im2 = Magick::Image.read(''2-1.jpg'').first
result = im1.composite(im2,
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
Missing are capitalization/formatting of data type & function labels,
as well as addressing the unit labels for the y-axis.
---
src/flexchart/flexchart.mxml | 4 +
src/flexchart/org/ovirt/Constants.as | 17 +++
src/flexchart/org/ovirt/charts/BarChart.as | 155 ++++++++++++++++--------
src/flexchart/org/ovirt/charts/HostChart.as | 42 ++++++-
2014 Nov 14
0
Wine release 1.7.31
The Wine development release 1.7.31 is now available.
What's new in this release (see below for details):
- New version of the Gecko engine based on Firefox 34.
- Support for the Visual Studio 2013 version of the C/C++ runtimes.
- More font metrics support in DirectWrite.
- Some more Direct2D work.
- Various bug fixes.
The source is available from the following locations:
2008 May 21
1
problems with data frames, factors and lists
I have a function that creates a list based on some clustered data:
mix <- function(Y, pid) {
hc = gethc(Y,pid)
maxheight = max(hc$height)
noingrp = processhc(hc)
one = noingrp$one
two = noingrp$two
twoisone = "one"
if (two != 1)
twoisone = "more"
out = list(pid = pid,one = noingrp$one, two = noingrp$two, diff = maxheight, noseqs = length(hc$labels), twogrp = twoisone)
2006 Jun 06
0
Thumbnail browsers (Mac Dock Bar-ish)
I''ve been searching for an attractive way to allow users to browse a set
of thumbnails on a single line something along the lines of the Mac Dock
bar. I''ve found this cool Javascript app:
http://eudock.jules.it/euDock.php
but just wondered if there was anything else out there like this
(doesn''t have to operate the same way as this. I''m looking for options
2006 Mar 10
0
file_column: post processing to add or delete thumbnail sizes
Dear all,
I have been using file_column for sometime now, and have several
pictures which have all been uploaded by file_column. Now, I would
like to add more thumbnail sizes for various different purposes --
and perhaps to even delete the sizes I no longer use. Is there a way
to do this using file_column automatically? Or can someone please
point me out to a script or a hint on writing
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...