search for: 81x81

Displaying 1 result from an estimated 1 matches for "81x81".

Did you mean: 8181
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, 0, 55, Magick::CenterGravity) result.write(''pic.jpg'') end end I''m really only familiar with Java, I''ve been researching Ruby for about a half an hour now and kno...