search for: 120x120

Displaying 2 results from an estimated 2 matches for "120x120".

Did you mean: 160x120
2006 Mar 29
0
Extract one page of PDF with rmagick?
...and it avoids the CPU load required to process a huge file. (in this case, the svn-book.pdf is 300 pages) How would I accomplish this using the magick_file_column? To use the command line as an example, the ''svn-book.pdf[0]'' isn''t really and argument such as -size 120x120, etc. How can I pass that [0] to rmagick when I''m processing a PDF? Paul
2006 May 30
1
Can''t read from file field second time around
...self.image = image_field.read self.content_type = image_field.content_type.chomp end def resize img = nil img = Magick::Image.from_blob(self.image).first img.format = "JPG" case self.image_type when "thumb" img.strip!.change_geometry("120x120!") { |cols, rows, img| img.resize!(cols, rows) } when "med" img.strip!.change_geometry("320x320>") { |cols, rows, img| img.resize!(cols, rows) } when "lg" img.strip!.change_geometry("640x480>") { |cols, rows, img| img.re...