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?".
Apologies if this is a common question; I can't seem to find this in the forums.
I'm trying to generate tiles for all pages of a PDF, and to name them according to the tile coordinates (the format should be something like <page_number>-<tile_column_number>-<tile_row_number>.jpg). So far I've come up with
Sadly, this only generates tiles for the first page of the PDF - hence the leading '0-' in the output filename. Any ideas for how I could generate tiles for all pages in the PDF and name them approrpriately?
Thank you for the quick reply. I have experimented with positioning the -flatten argument in various positions in the above command, but I seem to get either one output tile in total or a set of tiles from the first page of the document; not all tiles from all pages.
Also, how do I reference the page number in the output file name?