inherent access to the filesystem.
- Node.js: You can stand up a simple nodejs webserver which will allow
you to access the filesystem, nodejs also has imagemagick module that you
can install for processing images.
- php: You could setup php on your local server which will give you
access to the filesystem, and php extensions for image processing.
- Python: It would be trivial for python to implement this, import numpy
and write a simple looping script to get all the files and then do some
The real problem at hand is determining how your renaming scheme can fit
some neat rule from which to write an automated script.
Taking Example of DJVU file: 112_87_10_0.djvu
and convert/rename to: HEK_S044_Vitsand_1883-95.tif
There needs to be a pattern from which one can apply the following
- Get all files in the directory to be converted.
- Sort by some important sorting value (is it numerical ascending?)
- Take each conversion in order of sort and name it to a corresponding
As of right now, you could easily write a script that converts all files
such as this:
112_87_10_0.djvu ==> 112_87_10_0.tif
But until you can provide some additional ruleset for the renaming
schema the rest of your question remains unanswerable.
Upon further review I do see that you provide some information in
regards to getting the naming schema.. I shall look at that a bit more and
revise my answer. If you could though, please remove all irrelevant
information from your question, specificially the start and index.html
bits, there is really nothing in that code of any importance to the
question, and merely serves to obfuscate the important bits.