similar to: RMagick Resizing Issue

Displaying 20 results from an estimated 200 matches similar to: "RMagick Resizing Issue"

2005 Dec 22
2
Lighttpd/fastcgi - one ruby process taking up 98% of the cpu
My app goes unresponsive after running for a while. I checked out top, and one of the ruby processes is taking up 98% of the cpu. I have no clue why this is happening, and I doubt anyone can tell me specifically, but does anyone at least have any ideas as to where I should look? Pat
2005 Dec 30
2
newbie
Hello There I new to rails development and looking to write a simple site using rails. Does any one know of and example ecommerce application that that I can use as a base to build from. My db schema is very simple--product, categories, orders and order_item tables. Any suggestions will be highly appreciate. Thanks Pat
2005 Dec 19
1
New rails site. Beta testers need.
Hi Rails List, I need some beta testers for my new site: http://www.smarkets.net. This list is literally the first group to see it, so be gentle. Smarkets is a prediction market for Amazon products. It takes Amazon products and turns them into a stock. The price of these "stocks" move based on the movement of its Amazon sales rank. If the sales rank goes up 10%, the price of the stock
2007 Apr 19
2
invalid geometry string in change_geometry
I get the following error at the browser: ArgumentError in ImagesController#upload invalid geometry string `110×'' ... for the call to change_geometry with an explicit size (''110x'') as the geometry string: def make_thumb (the_img) require ''RMagick'' size = "110x" debugger if ENV[''RAILS_ENV''] ==
2005 Dec 15
10
.rpdf ?
I haven''t delved into the wonderful world of PDF::Writer yet, nor have I run across a need.. but I just had an idea I wanted to throw out there how hard would it be to create a .rpdf template plugin for rails? could be neat ;]
2005 Dec 19
2
Rails + Amazon
Hi, how to integrate Amazon product search into rails? I want to put some books on my site wih the amazon API. I found this: http://journal.gleepglop.com/articles/2005/06/06/amazon-on-rails but unfortunately the example code is 404ed and I am not quite sure if I understood everything. So I f there is some more rails + amazon info out there I would be happy if someone could point me there!
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
2004 Jan 14
1
disappearing files
Samba 2.2.7-3.7.2 on Redhat 7.3 Have a samba server setup that has been running for over a year now..... fairly simple configuration - it is functioning as a stand=alone server with smbpasswd backend. Everything has been working properly until recently - now randomly some directories do not display their contents. There are files in the directory, I've checked the ownership/rights on the
2005 Oct 10
2
R.app window size
Hi all, This is a question for any of you who use R.app (OS X). Is there any way to resize the quartz plot window from within R? I know that you can resize the window by dragging the corner of the window, and fro the preferences panel. But is there a way to specify the window size from the console? I want to specify the size of the plot window from inside an R function. Also a
2007 Oct 19
11
Patch idea for rspec_on_rails
I recently wrote a matcher for testing AR associations which allows you to specify things like: Foo.should have_many(:bars).through(:bazes) I''m pretty darned proud of it and a couple of people have suggested that I should submit it to the rspec_on_rails project. Before I go to the trouble of writing out rdoc and fully spec''ing it, I just wanted to make sure this was
2005 Apr 20
5
A question.
I have a Smoothwall like firewall and proxy, I would like to establish a bandwidth I inside specify for each IP my network. But that I have been able to do it is to install the QoS to him but it is not sufficient. Somebody can help me? My English is very bad, pardon if this badly written, I had to use a translator.
2017 Mar 07
2
[RFC][SVE] Extend vector types to support SVE registers.
Hi, I would like to restart the conversation regarding adding SVE support to LLVM. This time I am framing things from the code generation point of view because our immediate priority is llvm-mc support rather than auto-vectorisation. Can you please review the following text outlining MVT changes we would like to make so SVE instructions can be added to the AArch64 Target. My overriding
2006 May 19
9
Resize uploaded image file without creating temp file?
Hi, I need to take a single uploaded image file and save three resized versions of it, a thumbnail, normal and large version. I was planning on doing this in my model by having an array of geometry strings and looping through them, each time saving a new image object resized to the correct geometry. I know that file column does similar stuff, but I would prefer to have a separate database row
2008 Jan 22
4
Calling a function
Hi. I''m trying to call the function ''store_description(image)'' at line 9. However when I do, I get the error "undefined method ''store_description'' for Photo:Class". What can I do? 1: class Photo < ActiveRecord::Base 2: def store_description (image) 3: self.description = "size:
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling through a third party. The communication will be done by xml-rpc. The built in ruby xml-rpc doesnt seem to be compatible with the third party so I have to use a special php-script (provided by the third party) that will handle the interaction with them. Where on the server should/can I put the script? I would prefer
2005 Oct 24
2
config.action_mailer... ?
I''m trying to figure something out with the Initializer stuff in .14, and I can''t tell if I''m missing something or if something was overlooked.. What I want to do is something like this: config.action_mailer.server_settings[:address] = ''192.168.40.5'' Prior to .14, I was setting it with: ActionMailer::Base.server_settings[:address] =
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before saving the comment, I want to be sure that the upload(s) has passed validation, but I also need to validate in other ways. For example, I do not want to save the comment if there is no comment or upload. Or, I do not want to save the comment if the image has been uploaded previously (comparing md5s with past upload md5s
2009 Feb 17
1
plot.lm: "Cook's distance" label can overplot point labels
The following code demonstrates an annoyance with plot.lm(): library(DAAGxtras) x11(width=3.75, height=4) nihills.lm <- lm(log(time) ~ log(dist) + log(climb), data = nihills) plot(nihills.lm, which=5) OR try the following xy <- data.frame(x=c(3,1:5), y=c(-2, 1:5)) plot(lm(y ~ x, data=xy), which=5) The "Cook's distance" text overplots the label for the point with the
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
2003 Dec 09
1
Font
UseR's, I run R on Red Hat linux 8. I did some graphics using: ps.options(paper="a4",horizontal=T,family="Times"); postscript(file="boxplotdistancia.eps"); boxplot(distancia); dev.off() How I change the font size? Thanks for helping. Savano