Added options to change image size and fps