Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Automated conversion to bitmap failing due to disk error (-1)

Community Beginner ,
Dec 17, 2024 Dec 17, 2024

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.

Bug Unresolved
TOPICS
Actions and scripting , Windows
404
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Beginner , Dec 17, 2024 Dec 17, 2024

@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

...
Translate
Community Expert , Dec 17, 2024 Dec 17, 2024

What happens if you try the Image Processor script instead of Batch?

Translate
5 Comments
Community Expert ,
Dec 17, 2024 Dec 17, 2024

What happens if you try the Image Processor script instead of Batch?

Translate
Report
Community Expert ,
Dec 17, 2024 Dec 17, 2024

How many assets are you trying to batch at one time? Try a smaller subset and see if it fails.

Translate
Report
Community Beginner ,
Dec 17, 2024 Dec 17, 2024

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.

Translate
Report
Community Beginner ,
Dec 17, 2024 Dec 17, 2024

@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.

Translate
Report
Community Expert ,
Dec 17, 2024 Dec 17, 2024
LATEST

@ErikC223 

 

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.

 

atn.pngexpand image

Translate
Report