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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
a205208@trbvn.com
Posts: 1
Joined: 2016-02-05T00:42:29-07:00
Authentication code: 1151

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

Post 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?
Post Reply