Rewriting in C would reduce the overhead significantly already. I'm afraid I don't know whether there are better ways; maybe the code can be integrated into some existing thumbnailer, to reuse its build system and programs.
But as I said, while this is an opt-in, and not installed by default, then efficiency doesn't really matter much.
Rewriting in C would reduce the overhead significantly already. I'm afraid I don't know whether there are better ways; maybe the code can be integrated into some existing thumbnailer, to reuse its build system and programs.
But as I said, while this is an opt-in, and not installed by default, then efficiency doesn't really matter much.