changing image size from int to big int