J
Jonathan Denni
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)
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)