Save RAW files in DNG format instead of RAW - page 37 - Feature Requests - CHDK Forum

Save RAW files in DNG format instead of RAW

  • 392 Replies
  • 199354 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Save RAW files in DNG format instead of RAW
« Reply #360 on: 08 / January / 2009, 15:53:33 »
Advertisements
well, olympus does this as well in the exif tags (they have sensor temperature and lens temperature in there somewhere, in dedicated tags).
well, i for one wouldnt be unhappy if it was added in the usercomment, because that field is a) empty as of now and b) every application reads that as default and c) we *could* extend this later with more stuff, or even maybe the user decides what non-standard info (like temperature, overrides etc) he would like to see in that usercomment, by the use of checkboxes). i dont know how hard it would be to add this, i tried once, but adding non-fixed values i couldnt achieve.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #361 on: 08 / January / 2009, 16:21:21 »
So, for example (see attachments).

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Save RAW files in DNG format instead of RAW
« Reply #362 on: 08 / January / 2009, 17:47:33 »
it works :)
if i do
Quote
sprintf((char*)user_comment+8,"temp - opt: %i ccd: %i btt: %i",get_optical_temp(),get_ccd_temp(),get_battery_temp());

the temperatures are written to that tag. initially i thought that Lightroom and my picture viewer (Faststone) would view/interpret this tag, but they dont. so either we find a tag that is used in these apps at default (not only these apps of course) - like ImageDescription/title - or we leave it at that - temperature would be stored and is accessible later.

the advantage of using a tag that is used/shown in most of gfx apps is that you dont have to dig out the specialised exif tools to view these information. i can imagine that not only temperature will be stored there, but also other things.

i'm unsure what to do :)

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Save RAW files in DNG format instead of RAW
« Reply #363 on: 09 / January / 2009, 09:41:58 »
Maybe it is possible make reverting bytes in RAW buffer in other task (parallel to RAW buffer saving/processing).
DNG saving time is decreased from 1.8-2 sec to 1.5-1.6 sec, but sometimes pixel artifacts are present on top or bottom image borders (with 1 pixel heigth , only on DNG images).
I will continue discover this possibility next week.


*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: Save RAW files in DNG format instead of RAW
« Reply #364 on: 11 / January / 2009, 11:54:04 »
Patch to some version (from Ubuntu 8.10) of ExifTool's Canon.pm file to make ExifTool able dig those white balance coefficients ewavr found from jpeg exif tags. I have no idea how they should be named etc but I guess someone may find this useful for e.g. getting the values for dcraw command line using a script (if the color matrix happens to be good for your camera in dcraw already).... if it works, that is ;)


*

Offline harpman71

  • *
  • 16
  • Happy when it rains
Re: Save RAW files in DNG format instead of RAW
« Reply #365 on: 16 / January / 2009, 18:37:10 »
Hi, I could see that in the last autobuild (a590-101b-0.9.2-679-full) there is support to convert the file raw to dng. If is like this, anyone knows how to procede, couse I couldn't make it.

Re: Save RAW files in DNG format instead of RAW
« Reply #366 on: 07 / June / 2009, 16:36:03 »
DEFER the overhead until after the script completes etc.

How about some API feature for CCW to DNG conversion scripts and internal features can then create DNG at a better time?

Personally, I'd like to run a script before I dump the camera to the computer let the thing sit for 10 min and batch process all the CCW files. I could run something on the computer but getting something working well on the computer isn't always an option (its not always my computer either.)

*

Offline reyalp

  • ******
  • 14118
Re: Save RAW files in DNG format instead of RAW
« Reply #367 on: 07 / June / 2009, 16:42:32 »
DEFER the overhead until after the script completes etc.

How about some API feature for CCW to DNG conversion scripts and internal features can then create DNG at a better time?

Personally, I'd like to run a script before I dump the camera to the computer let the thing sit for 10 min and batch process all the CCW files. I could run something on the computer but getting something working well on the computer isn't always an option (its not always my computer either.)
By CCW do you mean CRW ? If not, please clarify.

Allowing to save a regular CHDK raw + dng metadata is one of the things I'd like to do eventually. With that, converting to DNG on camera or off would be trivial.
Don't forget what the H stands for.


Re: Save RAW files in DNG format instead of RAW
« Reply #368 on: 24 / June / 2009, 21:02:05 »
Adobe just updated DNG format to version 1.3.
http://www.dpreview.com/news/0906/09062402adobedng.asp?from=rss
Which version does CHDK produce now?

*

Offline reyalp

  • ******
  • 14118
Re: Save RAW files in DNG format instead of RAW
« Reply #369 on: 24 / June / 2009, 21:29:29 »
Ooh, the opcode based bad pixel patching looks like it could be useful.

The mapping stuff also looks interesting.
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal