trim empty space in output image, create one image per file in html directory