Adding source image size limit and more output formating