do not open ImageJ, render the image only once and save it
removed test code