Page 1 of 1

Can't convert PDF with propper name: -scene 1 %[filename:base]%d

Posted: 2016-02-05T00:51:01-07:00
by a205208@trbvn.com
I want to convert multipage PDF file(s) in directory into jpeg. PDF names shoulde be the same + page numbering in the end of filename.

I do in cmd:

Code: Select all

"...\convert.exe" -density 300 "...\*.pdf" -set filename:base "%[base]" -scene 1 "...\%[filename:base]%d.jpg"
PDF name:
AAAAAA BBBBBBBBB AAAAAAAA ZZZZZZ.pdf

JPEG names:
AAAAAA BBBBBBBBB AAAAAA3.jpg
AAAAAA BBBBBBBBB AAAAAA1.jpg
AAAAAA BBBBBBBBB AAAAAA2.jpg

Is that BUG? Or what do i do wrong?