loco27057486xady
Explorer
loco27057486xady
Explorer
Activity
‎Apr 18, 2025
05:55 AM
Ok I figured it out. The problem is user error: I cropped the image but I did not select "Delete cropped pixels". Doh!
... View more
‎Apr 18, 2025
05:50 AM
I created a panorama of several photos that are 61 megapixels each. Then I tried to edit the composite with Camera Raw (using the CR plugin from within Photoshop). The following error message appears: The image size exceeds the maximum of 536.9MP or 65000 pixels on the long side supported by Camera Raw. Ok, so I decide to crop the image a bit. Now the resolution is 27961 by 16251 pixels. According to my calculations that should equate to about 454 megapixels. Yet, Camera Raw keeps showing the same message. I have save the cropped version as a new file, restarted Photoshop, even tried in the beta version of Photoshop, but it doesn't matter. Camera Raw still thinks the image is too big, even though it isn't. Any idea what could be the issue? I guess I can cut up the image in several parts and copy the smart edits, but I would prefer not to, especially since I believe the image should fall within the required parameters. Oh, and I'm on the latest versions of both PS and Camera Raw.
... View more
‎Jan 08, 2023
02:17 PM
1 Upvote
Haha indeed it was your code that you so kindly provided 🙂 I have tested the code you created for this particular request and it works perfectly. Again, thank you so much for your help! Besides being able to bulk the profile conversion now, it's also very interesting to study the code of the script that you wrote. I'm learning a lot today 🙂 Thanks again!
... View more
‎Jan 08, 2023
12:31 PM
I'm trying to script the following: Select the folder via a dialog box Only select PSD files in this folder Apply an action to the PSD files Save the files in a subfolder called "processed". This subfolder is in the same location as the PSD files themselves. I copied the script provided to me for another issue. I can get the action to work, but even though I select an output folder, the files are still overwritten in the original location. I have searched and tried all kinds of things but I can't get it to work. Here is the script that I have that succesfully overwrites the original files: #target photoshop
// Disable dialog display
var restoreDialogMode = app.displayDialogs;
app.displayDialogs = DialogModes.NO;
(function () {
// Select the input directory
var inputFolder = Folder.selectDialog("Please select the input folder:");
if (inputFolder === null) {
// alert('Script cancelled!');
return;
}
// Get the Photoshop files
var fileList = inputFolder.getFiles(/\.psd$/i);
// Validate that the file list is not empty
var inputCount = fileList.length;
var folderSelection = (inputCount === 0);
if (folderSelection === true) {
inputFolder = Folder.selectDialog("No files found, please reselect the input folder:");
return;
}
// Select the output folder
var outputFolder = Folder.selectDialog("Please select the output folder:");
if (outputFolder === null) {
// alert('Script cancelled!');
return;
}
// Start the file count saving counter at zero
var counter = 0;
// Loop over the input files
while (fileList.length) {
for (var a = 0; a < 1; a++) {
try {
app.open(fileList.pop());
} catch (e) {}
}
try {
app.doAction('Profoto to sRGB','Profoto to sRGB.ATN');
activeDocument.close(SaveOptions.SAVECHANGES);
// Increment the file count saving counter
counter++;
} catch (error) {}
}
// End of script notification
app.beep();
alert('Script completed!' + '\r' + counter + ' files saved to:' + '\r' + outputFolder.fsName);
// Restore the dialog display
app.displayDialogs = restoreDialogMode;
}()); I reckon the issue is in the line activeDocument.close(SaveOptions.SAVECHANGES); This just does a save and overwrites the original file. I can't work out how to set it to a subfolder in the same directory. I tried to use activeDocument.saveAs but I can't get it to work. Can anyone point me in the right direction?
... View more
‎Jan 08, 2023
06:42 AM
Wow! I just ran your extended version of the script and it works perfectly. Thank you so much for the work you have put into this, I really appreciate it 🙂 Your script will reduce most of my PSD files by at least 33%, which translates to many gigabytes of hard drive space becoming available to me again. Thanks again Stephen!
... View more
‎Jan 07, 2023
03:41 PM
1 Upvote
Thanks for the wealth of information Stephen, I will look into it and see if I can optimize my script.
... View more
‎Jan 07, 2023
02:56 PM
Thanks Stephen for the reply, it helped me get the problem fixed 🙂 I added a try/catch as you suggested, and now it works as intended. In fact, now that I look at your example I see my solution is exactly the same code 🙂 For reference, I am indeed trying to remove true background layers from PSD files. If you know of a better code for this than just a check on "Background" in the layer name, I'm all ears 🙂 What do you mean by "batching in the script?" The only reason I use the batch function in Photoshop is indeed to call the script, so that I can run it on an entire folder, rather than individual images.
... View more
‎Jan 07, 2023
06:43 AM
I have a folder that contains PSD files, XMP files, ARW files and JPG files. Some of the PSD files have a layer called "Background". I want to create a script that checks only the PSD files for the layer named "Background", and if it exists, remove it. If it doesn't exist, close the file without saving. So the script needs to check the file-type, and then check for the presence of that named layer. I managed to almost get there with this script but I am not sure if the two conditions (that both need to be true) are correctly defined here: if (app.activeDocument.name.indexOf('.psd') != -1 && app.activeDocument.artLayers.getByName("Background") != -1) { app.activeDocument.artLayers.getByName("Background").remove(); } else {app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);} When I run this script on the folder, it almost works as I want. Non-PSD files get opened and immediately closed. From PSD files that contain the layer, the layer is removed and the file is saved. However, PSD files that did not contain the "Background" layer to begin with, they should just close immediately. But instead I get an error: "An error was encountered while batching". When I check the log, it just says: "Error: Could not complete the ScriptingSupport command because of a program error. (-1)" How can I fix it so that PSD files that do not have a layer called "Background" are ignored?
... View more
‎Jan 05, 2023
06:00 AM
Since Photoshop was updated to version 24.1.0, using masks in Camera Raw makes the application crash. This is on Windows 10 v22H2. Event viewer provides the following info: Faulting application name: Photoshop.exe, version: 24.1.0.166, time stamp: 0x63903e43 Faulting module name: ntdll.dll, version: 10.0.19041.2130, time stamp: 0xb5ced1c6 Exception code: 0xc0000374 Fault offset: 0x00000000000ff6a9 Faulting process ID: 0x38d0 Faulting application start time: 0x01d9210645d1c61f Faulting application path: C:\Program Files\Adobe\Adobe Photoshop 2023\Photoshop.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report ID: 78d0e062-92e4-4fe3-b974-cc2bfb35ae1c Faulting package full name: Faulting package-relative application ID: I rolled back to 24.0.1 and no more crashes...
... View more
‎Dec 08, 2022
01:44 PM
3 Upvotes
I have to laugh at the same couple of "Community Experts" regurgitating the same stock reply to every person asking when Adobe will finally make their software work for them. This thread must be great for your community reputation, building up all those Adobe points! 🤣 Meanwhile a lot of users are wasting their subscription money each month until Adobe finally deigns to support a new camera in their software. Truly a sad state of affairs.
... View more
‎Nov 24, 2022
02:42 PM
@Jao vdLIf this was some small company or a single developer, I would not complain at all. But we're talking about Adobe, a huge corporation. The biggest even when it comes to image editors. This is their core business and I am a paying customer. They should make it their priority to get ahead of issues like these. Even if what you say is all true, then Adobe should put money and resources into improving relations with camera manufacturers so that they can in fact have their software up to par before or on release of new cameras. Or at the very least, they could communicate to their users exactly what the issues they are facing are, and why it's taking them so long to make their software work with new cameras. But instead we get silence which I interpret as, not giving a damn. Could I be wrong? Absolutely! But then inform us!
... View more
‎Nov 24, 2022
02:47 AM
1 Upvote
I think it's pathetic that Adobe is not on this. Other software already supports the A7R V, what's the delay Adobe? Your software is unusable right now. Get on it!
... View more
‎Nov 09, 2022
09:49 PM
4 Upvotes
Please add Raw support for the Sony A7R V. It's out now but Adobe software can't be used with it.
... View more