similar to: ImageMagick helper

Displaying 20 results from an estimated 100 matches similar to: "ImageMagick helper"

2007 Oct 15
5
Very simple code throwing "uninitialized constant" error
This code works on an older version of Ruby and Rails but not with Ruby 1.8.6 and Rails 1.2.5. The code is so simple that I can''t figure out where the problem is. profile_controller.rb class ProfileController < ApplicationController def show @profile = Profile.find_by_school_id(params[:id]) end end ----------------------------------------------------------- profile.rb class
2008 Jun 25
0
Rspec routing_spec failing on nested singular resource
This should be easy to solve; I''m trying to get an Rspec routing_spec working with a singular nested resource; map.resources :users do |user| user.resource :profile end All the tests in the profile_routing_spec seem to be failing because they can''t match the routes, for example; # The spec describe ProfileController do describe "route generation" do it
2012 Mar 20
4
Batch mode creates huge diffs, bug(s)?
So the short summary of my problem is, the batch file rsync creates is HUGE for a very small change. The idea is to create workstation image with partimage, update it with some software and send the image update diff over the wire to a large number of destinations over a satellite link, but the batch file updates are several orders of magnitude too large. I don't know exactly how partimage
2008 Jan 15
1
Converting Watir script to Mechanize
I have a Watir script that I would like to convert to a Mechanize script. The watir code looks like this require ''watir'' include Watir def test ie = IE.new ie.goto(''http://cpref.gsm.com/inter.asp?r=8084'') ie.text_field(:name, ''inter_string'').set(''Potassium'') ie.button(:id, ''image1'').click
2005 Apr 22
1
Newbie Question
Dear All, I have installed Red Hat Enterprise 3 on one Intel-32 bit machine. I have installed all systemimager/systeminstaller/flamethrower RPMS that machine. I would like to install OS through PXE boot on another Athlon machine. When I execute mkssimage for creating a image master # mksiimage --Add --name image1 --path /var/lib/systemimager/images/image1 --filename /root/rpmlist
2012 Apr 06
3
I can't update data in table
In my edit page: url = profile/:id/edit the content is ! <%= form_for(@user, :as => :user, :url => profile_path(current_user), :html=>{:method => :put}) do |form| %> <%= form.text_field :email, :class=>"input"%> <%= form.submit ''Update Profile''%> <% end %> ............................ In controller section ! class
2006 Apr 23
1
file_column does not work with update model
When I am creating a model, everything works but not during update (where I use Model.update_attributes(model_attributes) ). I get the error: Do not know how to handle a string with value ''image_xxx.jpg'' that was passed to a file_column. Check if the form''s encoding has been set to ''multipart/form-data''. The form is indeed multipart. Does
2008 Dec 04
2
Does animated gif will work properly using RMagick?
Dear all, I have used RMagic to read and write a image while uploading. An animated gif was read from my local machine and was written in my images folder using RMagick. But the animated gif which i read was witten in my folder without animation. What should i do to write the gif image with animation. Here is my code to read and write image while uploading. image = params[:image][:blob]
2003 Jul 31
2
help with graphics
I'd like to use lattice to make graphics under conditional structure like : if (TRUE) { barchart(....) dev.print(png, file = "image1.png", width = 600) } but there's nothing in the output file. It seems that it's too long to print graphic into the graphical output and the saved file is a blank picture. it works if I do that without the conditionnal structure. it doesn't
2013 Jun 20
10
Two identical copies of an image mounted result in changes to both images if only one is modified
Hi, I''ve observed a rather strange behaviour while trying to mount two identical copies of the same image to different mount points. Each modification to one image is also performed in the second one. Example: dd if=/dev/sda? of=image1 bs=1M cp image1 image2 mount -o loop image1 m1 mount -o loop image2 m2 touch m2/hello ls -la m1 //will now also include a file calles "hello"
2006 Jan 22
6
SwitchTower with public key authentication?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, BEWARE: this is not a Rails question, but a SwitchTower question. I am asking here because SwitchTower is usually employed with Rails. I am developing what we may call a "distributed video player" in Ruby (this is NOT a Rails application). It works this way: I have several boxes that play videos and one server, where I store the
2009 Apr 16
3
Presenting R Results in Webpages
I apologize in advance that this question is not specific to R, but I thought some R users may be using this in their work process flow. I would like to be able to have a tool (prefer "scriptable") that will take two images and some pre-written text and put it on an simple webpage. That is, it would look something like the following: |---------------------------------------------|
2008 Jul 25
4
Creating a Bootable Image file
Newbie Question: We are using RHEL 5.2 with the 2.6.18-92.1.6.el5xen kernel. I am trying to follow instructions that I found to create an bootable image by doing the following: I first created a 10 gig file and formatted the partition using the dd and mkfs.ext3 commands: dd if=/dev/zero if=generic.img bs=1024k count=10000 mkfs.ext3 -t ext3 generic.img >From a working image that I
2010 Aug 10
2
p-values with pvclust
Hi, if you look at the first image (Image1) you see that there are 2 main clusters 7 and 8 I wanted to use pvclust to calculate a p-value whether these clusters are due to chance or statistically significant. Unfortunately pvclust does not provide a p-value for the first brunch (7 and 8). So I added a row to my matrix which is very different to the rest of the data to create an additional
2012 Oct 22
2
Assigning values to several consecutives rows in a sequence while leaving some empty
Hello all, I'm trying to group several consecutives rows (and assigning them the same value) while leaving some of the rows empty (when a certain condition is not fulfilled). My data are locations (xy coordinates), the date/time at which they were measured, and the time span between measures. Somehow simplified, they look like this:
2006 Jul 02
1
url_for_file_column not working
Hi All I am able to upload images but when I add the code to my view.rhtml <%= image_tag url_for_file_column("myimage", "image1", "medium" ) %> I dont get the image displayed; the reason being some extra numbers are added to the image file name. For example when I loaded intro_image.jpeg; it has the right file name in the database table. When I check the
2010 Aug 10
0
xenconsole: Could not read tty from store: No such file or directory
Hi,     I build xen-3.4.2 with VT-x support on ubuntu9.10 amd64-server.The machine boots ok and I start xend manually.I encounter the following problem with guest creation: $xm create -c /opt/vm/appscale1/xen.conf Using config file "/opt/vm/appscale1/xen.conf",start domain appscale1,I get the error:"xenconsole:Could not read tty from store: No such file or directory".The guest
2014 Sep 13
0
Хотите узнать как я заработала 450 тысяч рублей на бинарных опционах?
???? ????? ?????????, ??? 32 ????. ? ????????? ????? ? ???? ??? ????? ??????, ?? ??????? ????? ???? ?? ?????? ?????? ????, ????? ?? ?????, ????? ???????? ?? ????????? ? ??. ???? ???? ???????, ? ?????-?? ???????? ???? ??????? ? ?????????? ?????, ??? ???? ????? 19 ???. ? 31 ??? ??? ???????? ???????????? ? ?????????? ?????????????, ???? ? ?????? ? ??? ????? ???? ????????? (?? ???????? ?????????????
2016 Oct 03
0
[Bug 70354] [NVE6, NVE7] HUB_INIT timeout on graph init, blob fw doesn't help
getting same error message. can you address this as well? Here is output from lspci 1:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 745M] [10de:0fe3] (rev a1) Subsystem: Lenovo GK107M [GeForce GT 745M] [17aa:3809] Flags: bus master, fast devsel, latency 0, IRQ 30 Memory at d0000000 (32-bit, non-prefetchable) [size=16M] Memory at a0000000 (64-bit,
2002 Jul 12
0
*****SPAM***** Essentials for E-Commerce : adv.
SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (6.2 hits, 5 required) SPAM: Hit! (1.0 point) From: ends in numbers SPAM: Hit!