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
2
votes
1 answer

How does rawPy reads DNG frames

This question is the follow up of my previous one dng-raw-pictures-imported-as-16-bit-deep-but-unexpected-plt-show-result after which I continued my search. Due to the replies obtained the visualization in 16 bit but channel per channel works well.…
noste99
  • 375
  • 3
  • 14
2
votes
1 answer

DNG raw pictures imported as 16 bit deep but unexpected plt.show() result

Trying to process raw DNG pictures in Python with rawpy ends with strange results. import rawpy import imageio from matplotlib import pyplot as plt path = '/home/stefan/AIJ/RAW.DNG' with rawpy.imread(path) as raw: rgb =…
noste99
  • 375
  • 3
  • 14
2
votes
0 answers

Understanding DNG white balance system

Hello I'm trying to understand how white balance is calculated during dng creation. I know that all info are inside the matrix AsShotNeutral , that represents white balance and tint inside a DNG. What I do not understand is how this matrix is…
Philip
  • 771
  • 1
  • 9
  • 24
2
votes
1 answer

Modify EXIF/IPTC info in .dng (rawfiles) via Python?

Anyone aware of some Python module or library capable of modifying EXIF and IPTC data in Adobe RAW files (.dng)? Until some eight years ago, I used JPEG and could rather easily do such modifications helped by Python. After having switched to RAW, I…
2
votes
3 answers

get metadata from jpg, dng and arw raw files

I was wondering if anyone new how to get access the metadata (the date in particular) from jpg, arw and dng files. I've recently lost the folder structure after a merge operation gone-bad and would like to rename the recovered files according to the…
Daniel
  • 34,125
  • 17
  • 102
  • 150
1
vote
2 answers

Automator/AppleScript to find same file name with different extension in same directory

I'd like to create an automator action to help manage DNG/XMP files. I'd like to be able to drag a DNG (or several) onto the action which will send the DNG and the matching XMP file to the trash. The files have the same name except for the…
Zak J
  • 156
  • 1
  • 8
1
vote
0 answers

Convert pixel array to DNG in SWIFT ... without libtiff/libjpeg?

I have raw image data, a pixel array (actually a single string of data) that I want to convert to the most basic and minimal DNG format/file. I saw different approaches utilizing libtiff and libjpeg. Is there a simpler and more straight forward way…
1
vote
1 answer

Combination of RawPy and imageio result in red image

I want to do some image processing using .dng files. I am using rawpy to convert the file into a numpy array. Then imageio to save the image. It is a very simple code, given on the rawpy webpage. The resulting .png image is not as I expect it to be.…
Jop de Boo
  • 11
  • 1
1
vote
0 answers

Green tint when stacking RAW DNG images in Android

I am trying to process multiple RAW DNG images by stacking them to produce 1 stacked RAW DNG image. First, I get the DNG pixel data into byte array, since DNG is digital negative, I then flipped the byte values using "~" and convert them into…
Wayne
  • 11
  • 1
1
vote
0 answers

Reading Raw image with libraw and converting to DNG with libtiff

I am reading RAW files (usually NEF format) using Libraw and everything seems ok. After some processing, I need to save the RAW image as a DNG file. However, when I open the DNG file with Photoshop, the colors seem wrong. For finding the CFA…
user3178756
  • 555
  • 1
  • 5
  • 17
1
vote
0 answers

How to apply lrtemplates, DNG, XMP to images using python?

As I researched, popular images presets are lrtemplates, dng, xmp. However, we can only apply those filters by professional softwares like Photoshop, Lightroom, etc. Is it possible to do it by code (especially Python)? The idea is to develop a…
1
vote
1 answer

How to convert a numerical data array into RAW image data in Swift?

I have a data array of Int16 or Int32 numerical values that are the raw image data from a 11MP camera chip with an RGGB pixel layout (CFA). The data are exported by the camera driver as FITS data, which is basically a vector or long string of bytes…
1
vote
1 answer

implementing xmp data or dng data on other images in mobile app

I'm trying to build a mobile app (react-native or native languages) that will be able to take xmp file (in other words is presets of photos) and implement its data on other photo, or implementing dng settings on another photo. What I'm trying to…
1
vote
0 answers

ffmpeg glitch while converting DNG sequence into mp4 video

I have two problems with FFmpeg, when I use it to join DNG files sequence into mp4 video file. I also need to downgrade the resolution of the video from 6016x3200 to 2030x1080. First of all I got almost black screen in the resulting video. Had to…
1
vote
0 answers

Retrieve data from raw image taken with camera2API

I have used the official sample for using the Camera2 API to capture a RAW sensor frame. The code is in java but I transformed it to Kotlin with the help of Android Studio. I tested it, and I'm capable of taking and saving a dng picture to my phone.…
NicoC
  • 151
  • 1
  • 11