Menu

#138 Request: Camera2 API RAW file saving capability

1.0
closed
nobody
None
2016-07-10
2016-04-20
Wyatt Ward
No

With the Camera2 API comes the ability to save a raw file containing sensor information. I cannot find any FOSS programs that currently do this except for this demo, which lacks any sort of manual settings - I cannot even turn flash on or off, and there is nothing in the way of changing focus settings either.
https://github.com/googlesamples/android-Camera2Raw

So I'd like to ask for RAW file saving capability when you have the experimental Camera2 API support enabled. I am no java or android programmer (I can write Java but dislike doing so), but from what little I know about it, I'd think that this would be a reasonably easy feature to add:
http://developer.android.com/reference/android/hardware/camera2/DngCreator.html
http://developer.android.com/reference/android/graphics/ImageFormat.html#RAW_SENSOR

Discussion

  • Mark

    Mark - 2016-05-08

    Thanks for my links. It's on my todo, hoping to get standard on it soonish.

     
    • Anonymous

      Anonymous - 2016-07-05

      Any updates on this? I'd REALLY like this; my Nexus 6 has some kind of awful post-processing on everything, but RAWs look fantastic by comparison (like some overly-weighted noise reduction or something is on all the JPEGs). I also need the exposure settings and focus settings that the camera2raw demo lacks.

      I'm aware the Nexus 6 camera isn't great, but the RAWs have been giving me far more detail than any JPEG I've ever gotten out of it.
      http://i.imgur.com/LbAL5R7.jpg

       
      • Mark

        Mark - 2016-07-10

        RAW is working on my Nexus 6 now, the new version should be out soon. I like the photo! I had an Amiga 500 and then 1200 :)

         
  • Wyatt Ward

    Wyatt Ward - 2016-07-09

    I'm a C programmer primarily (I don't really like OOP), but if this doesn't happen sometime before I get back from my trip to my desktop I'm going to try my hand at this myself. I'm sure it'll be suffering from the standpoint of a mostly functional programming perspective so I'm hoping to avoid that, but I'll make a pull request if that happens.

     
    • Mark

      Mark - 2016-07-10

      Thanks for the offer, though I've finished implementing it now - RAW/DNG for Camera2 will be in the next version, hoping to release over the next week.

       
  • Mark

    Mark - 2016-07-10
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.