Compressing in-camera DNG files - RAW Shooting and Processing - CHDK Forum

Compressing in-camera DNG files

  • 14 Replies
  • 8249 Views
Compressing in-camera DNG files
« on: 11 / May / 2009, 09:40:33 »
Advertisements
So CHDK now generates DNG files inside the camera, but these files are (like the chdk-CRW files) uncompressed.

DNG4PS2 can process chdk-CRW files into compressed DNG files.

Is there a way (maybe DNG4PS2 does this?) to download our chdk-DNG files onto the PC, and then have them converted into compressed DNG files?

Has anyone tried DNG4PS2 on chdk-DNG files? or perhaps Adobe DNG Converter?

Elia

*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Compressing in-camera DNG files
« Reply #1 on: 11 / May / 2009, 10:43:58 »
I remember I used Adobe DNG Converter just to compress the files. In the old days, DNG for PowerShot 1.1 didn't perform compression, that was added by ArtDen if I'm not mistaken.

I haven't try Adobe DNG Converter with the new CHDK generated DNGs though.

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: Compressing in-camera DNG files
« Reply #2 on: 11 / May / 2009, 15:30:38 »
The adobe dng converter works for this purpose.
Also, the command line-thing from adobe "dng_validate.exe" can be used.
I use the "dng_validate.exe" via a small right-click script that compresses the dng's from my camera.

Re: Compressing in-camera DNG files
« Reply #3 on: 17 / May / 2009, 00:59:45 »
Thank you (both) for your responses. That is good to know. Handy to be able to reduce file sizes a little bit!

Elia

Re: Compressing in-camera DNG files
« Reply #4 on: 17 / May / 2009, 01:28:46 »
I use the "dng_validate.exe" via a small right-click script that compresses the dng's from my camera.

Oh, any chance of more information (and possibly a download link) for the script you use? (CHDK forum lets you attach small files to forum posts). I assume it allows you to process folders of DNGs.

Elia

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: Compressing in-camera DNG files
« Reply #5 on: 17 / May / 2009, 12:05:52 »
It looks like this:

Code: [Select]
:der
if _%1_==__ goto ferdig
%windir%\system32\dng_validate.exe -dng %1 %1
shift
goto der
:ferdig

and i have put the file in the sendto-folder of windows. I can however select only a few files at one time, like 10-13 or something, otherwise there is an error. Maybe someone here can help improve or make a better script.

Re: Compressing in-camera DNG files
« Reply #6 on: 28 / May / 2009, 13:05:44 »
You simply create a BAT file in the Windows\Send To folder and put that text inside? Wow, it looks really simple. Maybe the issue that is giving problems if you select too many files is a timing thing, maybe it needs a pause/sleep at the end of each iteration so that DNGConverter.exe doesn't get overloaded with requests while it is 'recovering' from the previous file.

An easy way to get sleep in command line is:
Code: [Select]
ping -n 10 127.0.0.1 where the 10 in
Code: [Select]
-n 10 refers to the number of seconds you want to 'sleep' before the next command. Maybe stick that at the end of the loop?

Elia

Re: Compressing in-camera DNG files
« Reply #7 on: 30 / June / 2009, 17:02:03 »
Hi,

Where did you get dng_validate.exe.  Did you have to compile it from sources?  I have looked at the Adobe site and have found the sources, but they are not complete: other libraries need to be downloaded.  A big pain.  A source for the compiled program would be great.

Jon
The adobe dng converter works for this purpose.
Also, the command line-thing from adobe "dng_validate.exe" can be used.
I use the "dng_validate.exe" via a small right-click script that compresses the dng's from my camera.

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: Compressing in-camera DNG files
« Reply #8 on: 30 / June / 2009, 17:29:48 »
Where did you get dng_validate.exe. 

Compiled versions for dng_validate for Win and Mac already included in DNG SDK
dng_sdk_1_3.zip: dng_sdk_1_3\dng_sdk\targets\win\release\dng_validate.exe

*

Offline kuku

  • *
  • 14
Re: Compressing in-camera DNG files
« Reply #9 on: 06 / July / 2009, 05:16:39 »

Compiled versions for dng_validate for Win and Mac already included in DNG SDK
dng_sdk_1_3.zip: dng_sdk_1_3\dng_sdk\targets\win\release\dng_validate.exe
is therer any chance to compile it for linux ?

 

Related Topics


SimplePortal © 2008-2014, SimplePortal