A unified method for processing Raw and pre-processed digital images is
provided. The method may include receiving digital image data and
determining if the data is Raw or pre-processed. If the digital image
data is Raw, the method may further include receiving modifications to
the Raw image data, applying a sensor profile and an output profile to
the data to create output-ready digital image data, and outputting the
output-ready digital image data. If, on the other hand, the digital image
data is pre-processed, the method may further include receiving a sensor
profile that has been applied to the pre-processed image data (or a proxy
therefore), converting the pre-processed image data to linear image data
using the sensor profile, receiving modifications to the linear image
data, applying the sensor profile and an output profile to the data to
create output-ready digital image data, and outputting the output-ready
digital image data.