I hope you understand that such an image is probably occupying about 1.3GB in memory. Is that what you want? I think the browsers have limits on how large an image they can reliably draw to.
This is why it’s unwise to specify a maxSize of Infinity x Infinity.
in browser it is showing good. when i am trying to get it as image, unable to do it. is there any way, by using less memory i should get image. and how can i define maxSize for this type of images and when i decrease scaling to 0.2, i am able to download it. but it is not much clear.