Skip to main content
Participant
November 1, 2021
Question

I want to convert DNG to TIFF using API

  • November 1, 2021
  • 5 replies
  • 2293 views

I'm developing a mobile app where I required to convert dng to tiff using Adobe RGB color space.

Steps we follow on desktop Adobe photoshop

1. In Photoshop, open DNG image.

2. Then we click on Save Image option.

3. Then we chose destination and file extension as TIF

4. Then we chose 'Adobe RGB' color space,8/16 Bit channel.

How I wanted it to work in my app?

1. In my app, camera will take raw image.

2. Upload DNG image to Adobe Cloud using API.

3. Adobe Cloud will Convert DNG to TIF as per required setting.

4. Downloaded back to mobile app using API.

This topic has been closed for replies.

5 replies

D Fosse
Community Expert
Community Expert
September 23, 2022

It's curious that we get so many questions about this now. You'd almost think it was a class asignment or something. If that's the case, it's a poor assignment that doesn't take the full problem into consideration - unless this is precisely the lesson to be extracted from it.

Conrad_C
Community Expert
Community Expert
September 23, 2022

Would it be possible for you to build your app using an existing raw conversion library such as LibRaw, which is open source? It is already used by many applications for raw conversions, and appears to support TIFF output and Adobe RGB, from looking at the documentation. (However, I am not a programmer.)

https://www.libraw.org/

Participant
December 7, 2021

Thanks NB for reply,

 

I want to convert dng to tif in Android. Sorry for late reply because I was doing a different project for while. Now I'm back to this project.

 

but why do you want TIF on a mobile?

To process some scientific images.

 

What application will be used to view there TIF?

We've developed app that view TIF images.

 

We want to convert dng to tiff using Adobe color space.

 

Legend
December 7, 2021

DNG is a subset of TIFF. However, converting DNG files could require de-mosaicing them if they are RAW (IOW, writing a RAW processor.)

My suggestion would be to license an existing app that does mostly what you need, or find a F/OSS project to fork.

Participating Frequently
September 23, 2022

Can I do this by using the APIs provided in the adobe developer program?

NB, colourmanagement
Community Expert
Community Expert
November 2, 2021

Are you thinking iOS or Android? 

How will the DNG be created on a mobile? The camera normally takes jpegs I believe?

[Edit - OK got that - your app is a RAW camera that makes DNG files, right? - but why do you want TIF on a mobile?]

What application will be used to view there TIF?

Might I please ask why?

As Lumigraphics mentioned it's going to be ugly (network intensive?) uploading and downloading large files.

 

I hope this helps
neil barstow, colourmanagement net :: adobe forum volunteer
google me "neil barstow colourmanagement" for lots of free articles on colour management
[please only use the blue reply button at the top of the page, this maintains the original thread title and chronological order of posts]

 

 

Legend
November 1, 2021

I'm guessing that Core Image handles this on iOS, not sure. There should be be SOMETHING out there where you can do this on-device. Uploading and downloading DNG and TIFF images is going to be ugly on mobile.