On Mon, 24 Oct 2016 13:59:59 GMT, Sönke Ludwig wrote:
On Mon, 24 Oct 2016 07:18:57 GMT, can wrote:
How do I image manipulation in vibe.d? Eg. image resize, convert etc.
The ae library has some (down) scaling support, but I have no experience with it. Alternatively, probably the simplest method would be to invoke the ImageMagick command line tool, using
std.process.execute(called within arunWorkerTask, so that it doesn't block the main event loop).Personally, I use an own imaging library, but that is (currently) not open sourced. I'm actually a little surprised that none of the native imaging libraries seem to support proper scaling.
I think I will use ImageMagick command line tool. Also runTask is good idea!