Actually the sorting will be a problem on Windows. It's fine if your images go from 0 to 9, but as soon as you put an image called '10' into the folder, it will be sorted as: 0, 1, 10, 2, 3, 4, etc... You need to 0-pad all names to the length of the largest number, so if the largest number is 100, then you need to go 000, 001, 002, 003, etc..., otherwise if you do 00, 01, etc... then you'll be stuck with the same problem of 00, 01, 02, 03...10, 100, 11, 12
A bloody legend
Thanks🎉
Thanks for awesome tutorials! Liked and subscribed!
🎉🎉🎉great 👍
Actually the sorting will be a problem on Windows.
It's fine if your images go from 0 to 9, but as soon as you put an image called '10' into the folder, it will be sorted as: 0, 1, 10, 2, 3, 4, etc...
You need to 0-pad all names to the length of the largest number, so if the largest number is 100, then you need to go 000, 001, 002, 003, etc..., otherwise if you do 00, 01, etc... then you'll be stuck with the same problem of 00, 01, 02, 03...10, 100, 11, 12
yeah, I hate that behaviour :P
@@ClearAtlas I get why MS did it, they treat every filename as a string, but it's still annoying having to remember it.
Can you avoid this problem by using natsorted instead of sorted?
Where are the project files for this tutorial?
You're still doing these videos!!