is there a command line tool to rotate large(huge) TIFFs?

Tyler Mitchell tylermitchell at SHAW.CA
Mon Nov 29 21:30:00 EST 2004


Hi Mike,
I'm guessing that you don't care about the georeferencing of the images
anymore, right?   Or are you really trying to reproject the image
coordinates?

I'd try ImageMagick (http://imagemagick.org/).  Its command line program can
be used like this:
> convert -rotate -24.9 <input>.tif <output>.tif

I'm not sure how large 'huge' is for you, but I'm trying a 52MB image right
now :)

Tyler

p.s. Do you make it to Prince George much?

On November 29, 2004 01:32 pm, Merrett, Mike wrote:
> Hi:
>         Does anyone know of a command line tool that will rotate tiff's
> 24.9degrees counter clockwise?
>
>         I have the 4 tiffs which I have rotated with Photoshop - but when I
> try to combine them (and then rotate them) Photoshop blows says too big
>
>         I believe I can combine them and then split them up again with GDAL
> tiff tools - but how to rotate them?
>
> Thanks,
>      Mike Merrett
>       GIS/ Database Specialist
>       City of Whitehorse



More information about the mapserver-users mailing list