Skip to main content
Participating Frequently
Oct 8, 2024 8:08 AM UTC
Open for Voting

Photoshop opens TIFFs in Camera Raw Issue

I´ve been having this issue for many years now and I can´t figure out how to solve it:

 

FLATTENED 8-bit TIFF/JPEGS (Both sRGB and AdobeRGB) opens as raw files in Camera Raw - with wrong white balance as well.

This is 60mp photos that I´ve been working on in Photoshop and then been saving out to send to costumers.

 

This only occurs with some images and I can´t see the pattern why just those and not other images.

I´m working with iMac, MacPro and Macbook Pro - same issue on all computers.

 

Please help!

8 replies

Stephen Marsh
Community Expert
Community Expert
Oct 8, 2024 11:13 AM UTC

Glad you got there!

 

This has come up multiple times, which is why I created the scripts.

 

It has been an issue for users without CaptureOne, so I believe that it is the CRS metadata added by Adobe Camera Raw or Lightroom.

Translate
Participating Frequently
Oct 8, 2024 11:05 AM UTC

Figured it out now!! Finally after years of frustration. Solved.

 

The "bad" metadata seems to occur when open an ACR-edited raw-file (I denoised it in CR before grading it in C1) from CaptureOne to Photoshop. It all seems to work if I untick the "All other Metadata"-box in CaptureOne when selecting "Edit With Photoshop" in CaptureOne. (I´m not sure if it´s the metadata from PS or C1 that somehow still telling it´s a raw file. Maybe both combined?)

Translate
Stephen Marsh
Community Expert
Community Expert
Oct 8, 2024 9:35 AM UTC

The following QuickTime video from 2007 covers this feature from CS3:

 

http://av.adobe.com/russellbrown/CS3_ACR_JPEG_SM.mov

 

Translate
Participating Frequently
Oct 8, 2024 9:12 AM UTC

...now I saw your link where to put the code!

Translate
Participating Frequently
Oct 8, 2024 9:07 AM UTC

Thanks alot, I´ll try this right away.

But I don´t get why this only occurs to some of the photos and not others?

 

Where do I paste the code? 

Translate
Stephen Marsh
Community Expert
Community Expert
Oct 8, 2024 8:46 AM UTC

It's not a bug, it's a user application setting preference.

 

 

A rendered file can't have raw camera file white balance.

 

You can't control how others have their settings – which means that your only other option is to remove the CRS metadata so that their software is forced to open a rendered file in Photoshop, not ACR by default.

 

Here is a script to remove CRS metadata from a single open file in Photoshop:

 

// Remove Camera Raw Settings CRS Metadata from Open Doc.jsx

#target photoshop

removeCRS();

function removeCRS() {
    if (!documents.length) return;
    if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var xmp = new XMPMeta(activeDocument.xmpMetadata.rawData);
    XMPUtils.removeProperties(xmp,XMPConst.NS_CAMERA_RAW, "", XMPConst.REMOVE_ALL_PROPERTIES);
    app.activeDocument.xmpMetadata.rawData = xmp.serialize();
} 

 

While this Photoshop script will batch remove all CRS metadata from JPEG and TIFF and PSD files in a nominated folder:

 

// https://forums.adobe.com/thread/2584026

#target photoshop;    
  
var inputFolder= Folder.selectDialog ("Please select folder to process");    
  
if(inputFolder != null){    
  
var fileList  = inputFolder.getFiles(/\.(jpg|jpeg|tif|tiff|psd)$/i);    
  
for(var a in fileList){removeCRS(fileList[a]);}    
  
}    
  
function removeCRS(selectedFile) {       
   
  
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");    
   
var xmpFile = new XMPFile( selectedFile.fsName, XMPConst.FILE_UNKNOWN, XMPConst.OPEN_FOR_UPDATE | XMPConst.OPEN_USE_SMART_HANDLER );     
  
var xmp = xmpFile.getXMP();    
  
XMPUtils.removeProperties(xmp,XMPConst.NS_CAMERA_RAW, "", XMPConst.REMOVE_ALL_PROPERTIES);  
  
if (xmpFile.canPutXMP(xmp)) {     
          
xmpFile.putXMP(xmp);    
           
xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);     
           
}             
   
  
};

 

The following script is for Adobe Bridge, not Photoshop:

 

// https://forums.adobe.com/message/9758205#9758205
#target bridge
if( BridgeTalk.appName == "bridge" ) {
remCRS = new MenuElement("command", "Remove Camera Raw Metadata",  "at the end of Tools");
}
remCRS.onSelect = function () {
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var sels = app.document.selections;
for (var a in sels){
var thumb = new  Thumbnail(app.document.selections[a]);
var md = thumb.synchronousMetadata;
var xmp = new XMPMeta(md.serialize());
        if(thumb.hasMetadata){
         XMPUtils.removeProperties(xmp, XMPConst.NS_CAMERA_RAW, "", XMPConst.REMOVE_ALL_PROPERTIES);
        var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
        thumb.metadata = new Metadata(updatedPacket);
        }
    }
};

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

Translate
Participating Frequently
Oct 8, 2024 8:38 AM UTC

But this only affect how Camera Raw opens different types of file formats - it doesn´t solve the problem with the files actually being corrupt. And it also opens the jpegs as raws in CR..

I can´t tell all my clients to change their ACR settings just because my files are bad. 

Translate
Stephen Marsh
Community Expert
Community Expert
Oct 8, 2024 8:29 AM UTC

Check your ACR preferences/settings, they must be set to open TIFF with embedded Camera Raw Settings metadata.

Translate