Save RAW files in DNG format instead of RAW

  • 392 Replies
  • 77266 Views
*

Offline vit40

  • ****
  • 276
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #90 on: 18 / November / 2008, 05:50:37 »
    Advertisements
    if you want to do/have additional work done on the pc you can also take the raw sensor dump

    Of course I can, as another fact that's what I'm doing last year and a half

    This was just an idea, I also written that I don't like it very much, but there are following reasons:

    - next Canon cameras with 1/1.7" sensor will have 14 and more Mpix, that is 2x more than my A620, meaning dng saving time will be about 4x longer than A620 chdk raw sawing time, which really won't be very short
    - ArtDen stopped developping DNG4PS2; with this non-standard dng just a generic program to reverse bytes would be needed to get a proper dng
    « Last Edit: 18 / November / 2008, 07:11:42 by vit40 »

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #91 on: 18 / November / 2008, 07:16:34 »
    - next Canon cameras with 1/1.7" sensor will have 14 and more Mpix, that is 2x more than my A620, meaning dng saving time will be about 4x longer than A620 chdk raw sawing time, which really won't be very short
    Not all so bad: RAW saving time on G7 (10MP, Digic3) is equal to RAW saving time on A710 (7MP, Digic2) on the same card. Newer DIGICs must work faster  ;).

    *

    Offline vit40

    • ****
    • 276
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #92 on: 18 / November / 2008, 07:26:03 »
    Will try on A650, didn't have time for it yet.

    On the other side, it's questionable whether A650 will have a successor, because all new Canon compact line seems to be announced so far, we have G10 (that has raw) but no A660 (that would come without raw) ...

  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #93 on: 18 / November / 2008, 10:05:37 »
    Well, if someone is interesting, test versions with online DNG creation for some cameras are here.

    edit: For any camera, supported by DNG4PS2, DNG support can be added.

    I would like to test this feature on my SD870.
    Are there any plans to support this camera ?

    Clee
    IXUS 860, juciphox 469


    *

    Offline vit40

    • ****
    • 276
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #94 on: 18 / November / 2008, 14:19:25 »
    Ok, checked new version with my cameras. Timings are (from the moment when I fully pressed the shutter until the moment when blue led off)

    A620 CHDK raw    1:80
    A620 dng              2:40
    A650 CHDK raw    2:80
    A650 dng              3:90

    So, it's not as bad as I thought, A650 dng takes about 2x more time than A620 CHDK raw

    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #95 on: 18 / November / 2008, 17:15:40 »
    Report from man from russian forum (12 MP, A650, 150x card, RAW buffer caching is on, creation+saving time):
    DNG - 2.8s
    RAW - 1.6s
    Not so bad as expected  ;)

    @moqua: SD870 will be in nearest future.

  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #96 on: 18 / November / 2008, 17:27:10 »
    ewavr asks:
    @all
    Which EXIF tags would you like to see?

    Well I think we should be as standards compliant as possible, on the grounds that the less we deviate from standards the more likely 3rd party software will work with DNGs produced by CHDK. The main relevant standards are TIFF 6.0, TIFF/EP (TIFF/Electronic Photography) and DNG. Adobe's DNG standard states that it is possible (but not mandatory) for DNG files to be TIFF/EP compliant. Being TIFF/EP compliant means including the mandatory TIFF/EP tags. These are:

    0xfe, 0x100, 0x101, 0x102, 0x103, 0x106, 0x10f, 0x110, 0x111, 0x112, 0x116, 0x117, 0x11a, 0x11b, 0x11c, 0x128, 0x131, 0x132, 0x8298, 0x9003 and 0x9216.

    ewavr's code contains most of these already, the missing ones are:

    0x10e, 0x11a, 0x128, 0x131, 0x132, 0x8298, 0x9003, 0x9216

    These are:

    0x10e: ImageDescription, T_ASCII, tag is mandatory but may be set to null
    0x11a: XResolution, T_RATIONAL, length:1, this encodes the number of pixels per resolution unit in X direction
    0x11b: YResolution, T_RATIONAL, length:1, this encodes the number of pixels per resolution unit in Y direction
    0x128: ResolutionUnit, T_SHORT, length:1, the resolution unit for 0x11a and 0x11b. Values can be 1:no unit, 2:inch or 3:centimeter
    0x131: Software, T_ASCII, encodes the name and version of the software within the camera. Tag is mandatory, but Null value is allowed
    0x132: DateTime, T_ASCII, length:20, date and time original was last modified
    0x8298:Copyright, T_ASCII, Tag is mandatory, but Null value is allowed
    0x9003: DateTimeOriginal, T_ASCII, length:20, date and time image was photographed
    0x9216: TIFF/EPStandardID, T_BYTE, length:4, should be set too 0x00000001 (for little-endian) this signifies version 1.0.0.0

    I hope this is useful. Adding these should be straightforward.

    Martin

    *

    Offline PhyrePhoX

    • *****
    • 2253
    • make RAW not WAR
      • PhyreWorX
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #97 on: 18 / November / 2008, 17:29:28 »
    so in 0x10e & 0x131 we can write everything we want? what is the limit there, is it a limited string with a limited length?


    *

    Offline ewavr

    • ****
    • 1057
    • A710IS
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #98 on: 18 / November / 2008, 17:43:02 »
    ewavr's code contains most of these already, the missing ones are:

    0x10e: ImageDescription, T_ASCII, tag is mandatory but may be set to null
    0x11a: XResolution, T_RATIONAL, length:1, this encodes the number of pixels per resolution unit in X direction
    0x11b: YResolution, T_RATIONAL, length:1, this encodes the number of pixels per resolution unit in Y direction
    0x128: ResolutionUnit, T_SHORT, length:1, the resolution unit for 0x11a and 0x11b. Values can be 1:no unit, 2:inch or 3:centimeter
    0x132: DateTime, T_ASCII, length:20, date and time original was last modified
    0x8298:Copyright, T_ASCII, Tag is mandatory, but Null value is allowed
    0x9216: TIFF/EPStandardID, T_BYTE, length:4, should be set too 0x00000001 (for little-endian) this signifies version 1.0.0.0
    Well, this tags will be added.

    Quote
    0x131: Software, T_ASCII, encodes the name and version of the software within the camera. Tag is mandatory, but Null value is allowed
    0x9003: DateTimeOriginal, T_ASCII, length:20, date and time image was photographed
    These tags are already present. 'CHDK' is used as 'software'.
    But I asked about EXIF tags like flash mode, light metering mode etc.

    edit:

    so in 0x10e & 0x131 we can write everything we want? what is the limit there, is it a limited string with a limited length?
    Limit is very big (65535 bytes?). What we must write to 'image description'?
    « Last Edit: 18 / November / 2008, 17:49:29 by ewavr »

    *

    Offline fudgey

    • *****
    • 1705
    • a570is
  • Publish
    Re: Save RAW files in DNG format instead of RAW
    « Reply #99 on: 18 / November / 2008, 17:47:08 »
    On a570is manual mode, Tv 1 ms, ISO80, 10 shot burst, SDHC class6 card, RAW or DNG with full size normal resolution jpeg I get average times per shot (includes time for shooting):

    DNG 2,4 s
    RAW 1,7 s
    JPG only 0,6 s (from 30 shot burst)

    RAW caching setting had no effect on speed.


     

    Related Topics