Welcome,
Guest
. Please
login
or
register
.
April 23, 2018, 05:44:24 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
28033
Posts in
5147
Topics by
2906
Members
Latest Member:
kbroch
The DAM Forum
DAM Stuff
DNG
DNG validation hash
« previous
next »
Pages:
[
1
]
Author
Topic: DNG validation hash (Read 15528 times)
Kevin Forsmo
Newbie
Posts: 31
DNG validation hash
«
on:
May 18, 2009, 08:18:47 AM »
Hi,
[edit: I should probably read up more about what I've bought...I am learning about ImageIngesterPro's included ImageVerifier now. So to some extent I've found the answer: ImageVerifier might let me play, but I'd still be interested to know if the cataloging apps can, will, or should flag files based on the DNG hash.]
I'm trying to figure out how the DNG RawImageDigest is used. The software I'm using is Lightroom 2, EM2, ImageIngesterPro, etc. To start, I'm converting my .NEF files to DNG using DNG converter 5.3 (standalone or via ImageIngester). Later I may be interested in Lightroom-generated DNGs, and I'm not sure if this calls the DNG converter or has its own algorithm.
Is the validation hash checked by software nowadays? Ideally I'd like to have someone help me manually corrupt the raw image portion of a dng so I can see how or when the hash is recomputed by various software, and how that information is used. Basically I'm trying to break things intentionally so I understand how the process works when something breaks unintentionally.
Thanks in advance,
Kevin Forsmo
«
Last Edit: May 18, 2009, 10:50:56 AM by Kevin Forsmo
»
Logged
peterkrogh
Administrator
Hero Member
Posts: 5682
Re: DNG validation hash
«
Reply #1 on:
May 20, 2009, 11:52:03 AM »
Kevin
Yes, ACR, Lightroom and the DNG converter all check the hash when opening an image.
Peter
Logged
rogerhoward
Full Member
Posts: 103
Re: DNG validation hash
«
Reply #2 on:
May 20, 2009, 01:07:15 PM »
Kevin - to corrupt the data, grab your favorite hex editor, load up the raw file, and have at it - make sure to keep your edits to the raw data... i'd test both modifying data in place (avoiding changing the file size) as well as randomly adding and removing data to change the fsize.
As for the hash, it's used at ingest and when the file is opened for rendering/editing I believe. Curious to hear what you find!
- Roger
Logged
-----
Roger Howard
tinamanley
Newbie
Posts: 1
Re: DNG validation hash
«
Reply #3 on:
October 01, 2009, 03:09:05 PM »
Do the original DNG files created by Leica cameras have this hash code or do they have to be run through a converter?
Thanks,
Tina
www.tinamanley.com
Logged
peterkrogh
Administrator
Hero Member
Posts: 5682
Re: DNG validation hash
«
Reply #4 on:
October 02, 2009, 05:59:35 AM »
Tina,
The hash has only been part of the spec since April 2008 or so. All files created before this won't have it.
Not sure about Leica implementation, but I'd doubt that they have it implemented currently, so, yes, you'd need to reconvert.
Peter
Logged
tho3hite
Newbie
Posts: 9
Re: DNG validation hash
«
Reply #5 on:
April 07, 2010, 04:33:10 AM »
I tested some DNG files straight off my M8 (firmware v2.044)and they don't have the hash. I don't know about the M9 but I'll be checking one out at a dealer soon. «« Though I probably won't have enough money to buy one for a very long time. Sob
»»
Logged
peterkrogh
Administrator
Hero Member
Posts: 5682
Re: DNG validation hash
«
Reply #6 on:
April 12, 2010, 10:56:29 AM »
I heard from a reliable source that the Leica does not have the hash (even the M9), but that it's possible it will show up in a firmware update. Leica seems to be more adventurous about what they will do in firmware than other companies.
Peter
Logged
Ale
Newbie
Posts: 1
Re: DNG validation hash
«
Reply #7 on:
January 09, 2011, 06:56:57 AM »
Hi,
I would like to know if it is possible to check if a DNG file has the hash.
I should make sure of this with many old files I don't remember with which DNG Coverter version they were generated.
Thanks,
Alessandro
Logged
rogerhoward
Full Member
Posts: 103
Re: DNG validation hash
«
Reply #8 on:
January 10, 2011, 10:00:02 AM »
Quote from: Ale on January 09, 2011, 06:56:57 AM
Hi,
I would like to know if it is possible to check if a DNG file has the hash.
Yes, of course - I use Exiftool... the field is called "RawImageDigest" so if that field exists and is populated then the hash is there. I've got a few AppleScripts (which in turn automate Exiftool) for scanning a collection to report on whether each file has this hash - if you're on a Mac and interested I'd be happy to share.
-Roger
Logged
-----
Roger Howard
Roelof
Full Member
Posts: 128
Re: DNG validation hash
«
Reply #9 on:
January 10, 2011, 11:54:38 AM »
Does someone know a windows script for this perhaps?
Roelof
Logged
JoeThePhotographer
Full Member
Posts: 208
Re: DNG validation hash
«
Reply #10 on:
February 11, 2011, 09:58:29 AM »
How do you know whether a dng has a hash or not?
I using Vuescan to scan to DNG, and would like to know whether they are hashed or if I need to re-convert them.
The problem with reconverting Vuescan files is that they are 4-channel (Red Green Blue and Infrared) so I am not sure whether Adobe converter will know what to do with the fourth channel.
Logged
evnglst
Newbie
Posts: 1
Re: DNG validation hash
«
Reply #11 on:
December 29, 2011, 06:26:57 PM »
Quote from: rogerhoward on January 10, 2011, 10:00:02 AM
Quote from: Ale on January 09, 2011, 06:56:57 AM
Hi,
I would like to know if it is possible to check if a DNG file has the hash.
Yes, of course - I use Exiftool... the field is called "RawImageDigest" so if that field exists and is populated then the hash is there. I've got a few AppleScripts (which in turn automate Exiftool) for scanning a collection to report on whether each file has this hash - if you're on a Mac and interested I'd be happy to share.
-Roger
Hi Roger. Yes... I would very much like to see your AppleScripts for Exiftool... if you're still reading this thread.
Thanks,
George Jardine
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> DAM Workshops
=> Comments about the book
=> General Discussion
=> Photo Blogs
=> GPS/ Geotagging
=> dpBestflow.org Discussions
-----------------------------
DAM Useful Stuff
-----------------------------
=> DAMuseful Video training
=> DAMuseful Software
=> DAM Useful CS3 Beta Products
-----------------------------
Software Discussions
-----------------------------
=> RAW File Converters
=> Lightroom
=> Choosing Software/Other DAM Applications
=> Aperture
=> Bridge/ Camera Raw
=> Media Pro & Expression Media
=> iView MediaPro
=> ImageIngester and ImageVerifier
=> idImager
=> Import From Camera
=> Scripting
-----------------------------
Workflow Discussions
-----------------------------
=> Multi-User Configurations
=> High Volume
=> Stock Photography
=> Wedding Workflow
=> Tethered Shooting
-----------------------------
DAM Stuff
-----------------------------
=> Loss and Recovery
=> Keywords and Controlled Vocabulary
=> Naming Issues
=> Migration Issues
=> Scans and Camera Scans
=> DNG
=> Software Discussions
=> Hardware Discussions
=> Backup Strategies and Tools
=> Data Validation
Loading...