Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

Batch won't perform convert mode action

Participant ,
May 31, 2019 May 31, 2019

Using PS 20.0.4 on Windows 10 Pro

Issue: Batch won't perform convert mode action

I've created an action which opens PDFs as Grayscale, converts them from  Grayscale to Bitmap and saves them as TIFFs. The action works as intended when used on individual PDFs.

When used as a batch command, it opens the PDFs fine but stops at converting them to Grayscale. (I've tried looking at the log file but it's in Chinese.Why is that--the prefs language is set to Englis) It will open all the files in the designated folder as Grayscale but does not then convert them to Bitmap--it simply leaves them open. If I set the batch to Stop for Errors, it doesn't stop. So that means there's a step missing, but if the action works on its own, how can that be?

I've attached a screen shot of the Batch Settings; it makes no difference if the Save As override is on or off.

First image is a screen shot of the action. The second is of the batch settings. The third is of error log.

Convert PDF to BM.png

Batch Settings.png

PS Error Log.png

1.6K
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 1 Correct answer

Community Expert , May 31, 2019 May 31, 2019

I would try Image Processor or Image Processor Pro scripts:

https://sourceforge.net/projects/ps-scripts/files/Image%20Processor%20Pro/v3_2%20betas/

You could also try Paul Riggot's PDF Processor 2 script:

https://raw.githubusercontent.com/Paul-Riggott/PS-Scripts/master/PDF%20ProcessorII.jsx

Translate
Adobe
Community Expert ,
May 31, 2019 May 31, 2019

In the Batch dialog check Override Action "Save As" Commands and see if that makes a difference.

Batch+Settingss.png

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
Participant ,
May 31, 2019 May 31, 2019

Actually, I have tried that--the batch stops whether the override is checked or not.

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
Community Expert ,
May 31, 2019 May 31, 2019

You state that you have an action that converts the pdfs to grayscale upon open.

Does that action reference you second action that converts the grayscale to bitmap?

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
Participant ,
May 31, 2019 May 31, 2019

Yes, if you look at the attachment with the original post you will see that is the case.

Since I am opening from a PDF, I can make grayscale the default for that dialogue box upon opening and don't have to include it in the action--the PDFs open as grayscale. So the only thing left is to convert them to bitmap through the action. As I say, the action works fine on its own, but when used in a batch it stalls after opening each file.

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
Community Expert ,
May 31, 2019 May 31, 2019

Try an action something like below where the first step of opening a pdf is not actually opening a pdf but a jpg file.

If you record the opening a pdf then all the parameters of that one file are recorded like size, resolution,etc which you might not want for every file.

Then do a convert to grayscale step, convert to bitmap, save as ti and close without save.

op1.png

op2.png

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
Participant ,
May 31, 2019 May 31, 2019

Thanks. Will give it a shot and respond next week.

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
Participant ,
Jun 10, 2019 Jun 10, 2019

Lost a week but finally got time to walk through this. If I'm reading you correctly, you're saying that the only way for this to work is to save the original multi-page PDF as single-page jpgs, not as single-page pdfs. Strange that PS can't handle opening PDFs in a batch.

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
Community Expert ,
Jun 10, 2019 Jun 10, 2019

If your using multipage pdfs then using the PDF Processor II script as suggested by Stephen A Marsh is definitely the easiest and most pain free method of processing multipage pdfs.

Without a script photoshop can't deal very well with batch processing multipage pdfs.

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
Participant ,
Jun 11, 2019 Jun 11, 2019

actually we're breaking the multi-page PDF into single-page PDFs prior to batching. But it is just as easy to save the multi-page PDF as JPGs. I'm just surprised that PS hiccups over the PDFs.

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
Community Expert ,
Jun 11, 2019 Jun 11, 2019

If you use the PDF Processor II script you don't have breakup the pdfs, since the script can handle multipasge pdfs just fine.

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
Participant ,
Jun 12, 2019 Jun 12, 2019
LATEST

That's cool. I've now actually, after 20 years of using PS, have loaded my first script. Will wonders never cease? Thanks for the help.

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
Community Expert ,
May 31, 2019 May 31, 2019

I would try Image Processor or Image Processor Pro scripts:

https://sourceforge.net/projects/ps-scripts/files/Image%20Processor%20Pro/v3_2%20betas/

You could also try Paul Riggot's PDF Processor 2 script:

https://raw.githubusercontent.com/Paul-Riggott/PS-Scripts/master/PDF%20ProcessorII.jsx

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
Participant ,
Jun 10, 2019 Jun 10, 2019

From what I'm reading it looks like the Image Processor Pro script is for the Mac environment, not Windows.

Paul Roggot's script is a bit more than I can handle--I would need something that has an installer--not fluent in scripting.

Thanks anyway.

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
Community Expert ,
Jun 10, 2019 Jun 10, 2019

No, IPP is cross platform.

Paul’s script simply needs to be saved as a plain text file with a .jsx filename extension. It can be run or installed.

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