<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I wish to rotate a typical image (resolution 25m, UTM) for 30 degrees and perform some pixel-level analysis, and then re-rotate back to north-up. In all these, I wish to keep the pixel resolution intact. <br><br>I tried the following:<br><br>1. use gdal_translate to produce a baseline TIFF file (x.tif) and a worldfile(x.tfw)<br>2. modify the worldfile and specify the degrees to be changed<br>3. use gdalwarp to make the first rotation: gdalwarp x.tif y.tif<br>however, in this step, the 'pixel resolution' is changed, something close to 100. If I still specify -tr 25 25 in the gdalwarp commandline, then the size of the output is getting very large, close to 4 x 4 times larger. I guess gdalwarp assumes the x.tif has a 'resolution' of 100 in this regard. I lost here and hope someone can help me. Really appreciate any help and
 advice.<br><br><br><br><br><br></td></tr></table><br>