Fixed image size calculation