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?".
As you can see, I have 3 files:
00002.jpg
00037.jpg
00038.jpg
So, when they are splitted, I should have 3x2=6 files but I have only four:
00038-0.jpg
00038-1.jpg
00038-2.jpg
00038-3.jpg.
Without that "*.jpg", the command should read one file called "page000.jpg" and create 2 files called "page000_0.jpg" and "page000_1.jpg".
Now everything is clear and works like a charm.
Is there a possibility to rewrite this code this code to work on every jpg in a catalog?
I wanted to achieve this by adding *.jpg at the end of the command.
I would do it in a FOR loop. Type "help for" for help on "for". I would write the outputs to a different directory. Otherwise, when you process all the jpegs in a directory, you will soon split the split images, and then you will split the splits of the splits ...