Copy link to clipboard
Copied
I'm using photoshop 26.2.0 on windows 11 Enterprise version 23H2 OS build 22631.4602
I'm recieving a disk error (-1) when automating an action for a folder.
The action in question consists of converting an image from greyscale to bitmap (maintaining a dpi of 600 and using 50% threshold) , saving the file, and closing the file. The images are .tif format.
I had no issues running a similar action which converts a RGB images to greyscale. (Or actions which involved image rotations) The issue only seems to arise when I convert to bitmap.
I've already tried restarting Photoshop, restarting the PC, deleting and re-creating the action, resetting photoshop's preferences, and running the action on a different drive.
The drive I'm working on has over 600 GB free, so storage space shouldn't be an issue. It is a network drive but I recieve the same error when running the action on my hard drive which has over 200 GB free.
Any help is greatly appreciated.
What happens if you try the Image Processor script instead of Batch?
@Stephen Marsh
Thank you so much, this worked given a few extra steps.
I still recieve an error but I was able to successfully convert the images. After running the script I was left with the converted images which were unsaved, I recieved an error saying photoshop was unable to process the files. Running a second script which only saves the opened files saved the files with no issues. The only issue I ran into is that this is limited by how many images ps can have open at a time, but for my purp
Copy link to clipboard
Copied
What happens if you try the Image Processor script instead of Batch?
Copy link to clipboard
Copied
How many assets are you trying to batch at one time? Try a smaller subset and see if it fails.
Copy link to clipboard
Copied
I ran the function on a smaller folder with 5 images and had the same result. The error will occur on the first file ran regardless of how many files are in the folder.
Copy link to clipboard
Copied
@Stephen Marsh
Thank you so much, this worked given a few extra steps.
I still recieve an error but I was able to successfully convert the images. After running the script I was left with the converted images which were unsaved, I recieved an error saying photoshop was unable to process the files. Running a second script which only saves the opened files saved the files with no issues. The only issue I ran into is that this is limited by how many images ps can have open at a time, but for my purposes I'm able to split the files into a few groups and run the groups individually.
Copy link to clipboard
Copied
I did note that you batch settings didn't have a save step set in the destination. As you didn’t post a screenshot of your action I don’t know what steps are in there. Have you tried recording the action with an explicit save to TIFF? If you include the filename in the action recording you will need to enable "override action save as commands” in the batch settings.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more