Yes, simply pass a -1 to the height and width parameters.
However this image size is limited by your пакет.