However I do not understand output filenames.
the command I was trying to run was (which you can experiment in the above sample url)
I tried to split a filename of abcdefghijklmn.jpg thinking this would generate abcdefghijklmn-0.jpg, abcdefghijklmn-1.jpg, ...
Code: Select all
convert * -flatten -crop x20% +repage -quality 100 -scene 0 -set filename:mysize %t %[filename:mysize]-%d.jpeg
However I got file name abcdefgh0.jpg. This was unexpected for 2 reasons.
- 1. I did not abcdefghijklmn, but the shortened abcdefgh
- My guess is that in the browser it does not detect that it is capable of longer than 8 character file names. I was wondering does anyone know where the detection for what character support your file system has is?
- 2. I did not get '-'.
Lastly, any thoughts on client side ImageMagick using webassembly more info at https://github.com/KnicKnic/WASM-ImageMagick?