I am using gimp 2.10
.
When i use any transformation (rotate, resize,...etc) tool on part of an image,
it gets pix-elated even if i am resizing down and it gets worse with more transformations.
You can see the difference in this image
How can i maintain resolution when using transform tools?
No, you can't, because transform tools (except Move and Flip) interpolate pixels. This is rather visible on hard edges (but check that you are using the NoHalo method).
gimp_item_transform2D()
to do a combined scale+rotategimp-item-transform-matrix()
Do not iterate transformsAlso, when downscaling your picture can be subject to aliasing. The usual (and non-intuitive) cure is to pre-blur the picture before downscaling (if downscaling by N, apply a Gaussian blur of N pixels: 2px for a 50% reduction).