$ 0 0 Also tried to do the same with imagemagick command line tool, took about 10 seconds and utilized cpu (13%) and memory(1.8 Gb).