# Rmagick DNG

**URL:** <https://www.ruby-forum.com/t/rmagick-dng/183402>\
**Category:** Ruby\
**Created:** [February 13, 2010, 2:35am UTC](https://www.ruby-forum.com/t/rmagick-dng/183402 "2010-02-13T02:35:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 13, 2010, 2:35am UTC](https://www.ruby-forum.com/t/rmagick-dng/183402/1 "2010-02-13T02:35:37Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [February 15, 2010, 9:16pm UTC](https://www.ruby-forum.com/t/rmagick-dng/183402/2 "2010-02-15T21:16:26Z")

</div>

Jonathan D. 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
