Questions tagged [dng]

Digital Negative (DNG) is an open raw image format owned by Adobe used for digital photography

Digital Negative (DNG) is an open raw image format owned by Adobe used for digital photography

71 questions
51
votes
6 answers

RAW Image processing in Python

Are there any Pythonic solutions to reading and processing RAW images. Even if it's simply accessing a raw photo file (eg. cr2 or dng) and then outputting it as a jpeg. Ideally a dcraw bindings for python, but anything else that can accomplish the…
The Unknown
  • 19,224
  • 29
  • 77
  • 93
11
votes
0 answers

What settings do I use to capture a RAW in iOS without noise reduction but otherwise looking identical to BGRA?

We can either ask AVFoundation to capture a photo in a processed format like BGRA, or ask it to capture a RAW and then process it to BGRA using Core Image. The latter lets us control the parameters used in the process rather than leaving it to the…
Kartick Vaddadi
  • 4,818
  • 6
  • 39
  • 55
10
votes
3 answers

Reading RAW image files as GDI+ bitmaps

Is there a good way to read RAW image files (especially Canon CR2 and Adobe DNG files) as GDI+ bitmaps that is reasonably fast? I found an example running under WPF that would read an image using any installed image codec and then display it in an…
Rune Grimstad
  • 35,612
  • 10
  • 61
  • 76
6
votes
0 answers

Unable to read DNG from file

I'm trying to capture an image on iOS10, store it in raw format and then process it later. Taking and saving the image is not a problem, but when I try to open the DNG file later with CIFIlter(imageData:options:), the filter.outputImage is nil.…
Joern Doe
  • 61
  • 5
5
votes
1 answer

Libtiff: Generating TIFF/EP Profile 2 Raw image from pixel array

I'm trying to generate a TIFF/EP Profile 2 raw (.dng) image from an arbitrary pixel array. This pixel array represents a Bayer pattern (CFA). I studied the TIFF/EP file specifications and, by using libtiff, I included all tags I believe are…
Fabian K
  • 141
  • 1
  • 7
4
votes
1 answer

How to produce an Adobe DNG image from scratch with LibTiff

I am trying to generate an Adobe DNG file using libTiff from scratch for my specfic camera RAW files. For this I wrote an example to generate a DNG which should be completely black. However, i cannot open my result and i am suspecting that there is…
Daniel R.
  • 774
  • 1
  • 7
  • 19
4
votes
1 answer

iOS: PHAsset & Detecting DNG RAW Format

I got Apple's sample code for 'SamplePhotosApp' and in the photo album grid photo layout, trying to detect DNG RAW files (put up a badge if it's DNG). Default cellForItemAt: override func collectionView(_ collectionView: UICollectionView,…
Gizmodo
  • 3,151
  • 7
  • 45
  • 92
4
votes
0 answers

Fetch a thumbnail image from DNG RAW image file and show it in android ImageView

I am trying to fetch a thumbnail image from DNG RAW image file and show it in android. I have successfully read all the required tags and get the values to form an image. But I haven't worked with image before so facing problem with bitmap…
3
votes
3 answers

Is there any pre-built exe/binary for Adobe DNG SDK?

Someone might argue whether its related to photography or not, but since it is related to DNG format, asking here. I am trying to build a Adobe DNG SDK so that I am able to convert many different camera raw formats to *.dng format. I downloaded the…
goldenmean
  • 18,376
  • 54
  • 154
  • 211
3
votes
4 answers

Can you save an edited RAW .dng file on iOS?

I want to build an iOS 10 app that lets you shoot a RAW (.dng) image, edit it, and then saved the edited .dng file to the camera roll. By combining code from Apple's 2016 "AVCamManual" and "RawExpose" sample apps, I've gotten to the point where I…
Trevor Alyn
  • 687
  • 2
  • 8
  • 20
2
votes
1 answer

Image too big for processing when converting large (1.3 GB) DNG file to PNG using python

I need to convert a DNG file to PNG using python. I found a post here how to convert DNG: Opencv Python open dng format The code I tried: #open dng and convert import rawpy import imageio import os os.chdir(r'C:\Path\to\dir') path =…
Olaf
  • 146
  • 1
  • 8
2
votes
0 answers

Tags in DNG format file

I am currently trying to understand DNG format and convert it to the simple RAW format file. And I have 2 questions: - is it possible that the same tag can appear several times in one DNG file which contains only one image? - is it possible that…
lucky luke
  • 17
  • 1
2
votes
2 answers

Converting a proprietary raw image format to Adobe DNG

I have a proprietary raw camera image format taken from a Aptina camera. It's raw file format is 16bit per color channel, 'GRBG' mode with file extension is *.raw. No headers nothing, just plan raw bayer samples. I want to convert this format to…
goldenmean
  • 18,376
  • 54
  • 154
  • 211
2
votes
2 answers

Command Line Read DNG Images

After some time, after trying the "tips", "hints", "guesses" and "trials" in here, here, here, here and here, even through the given SO questions in here and others, and using several software in here, here and here, i am still not being able to…
Brethlosze
  • 1,533
  • 1
  • 22
  • 41
2
votes
1 answer

Saving DNG (raw photos) taken on other camera to iOS Photo Library

I write an app that reads dng files from my Ricoh GR II and save them to iOS 10's Photo Library, code like this let photoLibrary = PHPhotoLibrary.shared() photoLibrary.performChanges({ PHAssetChangeRequest.creationRequestForAsset(from: image) })…
Xiao Xiao
  • 931
  • 8
  • 19
1
2 3 4 5