From: Jonathan Denni on 12 Feb 2010 20:35 I am using RMagick to process photos that are in the DNG format. However, RMagick seems to just use the thumbnail version of the image. How do I tell it to use the full resolution image? require "base64" require "rubygems" require 'RMagick' include Magick f=File.open(file_name,'r') p = Image.read(f) p[0].format='JPG' return Base64.encode64(p[0].to_blob) -- Posted via http://www.ruby-forum.com/.
From: Roger Pack on 15 Feb 2010 15:16 Jonathan Denni wrote: > I am using RMagick to process photos that are in the DNG format. > However, RMagick seems to just use the thumbnail version of the image. > How do I tell it to use the full resolution image? Could re-post this to their rubyforge forum. -r -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: What is the best exception to use for bad Data State? Next: Subtracting string arrays |