In this case, if options.size is not set, we will enter this block always, and run through this logic even if neither height nor width are set.