Posted Sun, 11 Jan 2015 11:10:30 +0100 in reply to
Angst
Reply
Am 04.10.2014 18:36, schrieb Angst:
On Mon, 29 Sep 2014 05:56:38 GMT, Jack Applegame wrote:
On Sat, 27 Sep 2014 19:39:39 GMT, Angst wrote:
What would be the recommended way for doing server side image resizing/cropping?
I have also been experimenting with doing this stuff client side.
If I get that to work then I only need to do server side image verification and sanitation. Any advice?
The easiest and powerful way is using command line tool like ImageMagick. You can invoke it by std.process.spawnProcess.
I was afraid of that ;)
Do you think image processing should have a place within vibe.d (or phobos) ala php?
http://php.net/manual/en/ref.image.php
I'd say not within vibe.d, but maybe a separate little wrapper library
that provides a more convienient interface within vibe.d would be a
worthwhile project. I'm using my own image processing framework (which
is still closed), so this is something somebody else would have to do
though.