<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>Hi, everybody</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>New to GDAL as well as using georeferenced raster images. I am
trying to figure out how to do the following, and any help / insight would be
greatly appreciated. I have put some numbers together as an example
:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I have an image (tif/jpg/png) 5000 x 5000 that is georef with
a world file</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>2</FONT></DIV>
<DIV><FONT size=2>0</FONT></DIV>
<DIV><FONT size=2>0</FONT></DIV>
<DIV><FONT size=2>-2</FONT></DIV>
<DIV><FONT size=2>667500</FONT></DIV>
<DIV><FONT size=2>5864000</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I would like to pull a sub image of this that is bound by a
rectangle</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 669273--------------------------- 670898</FONT></DIV>
<DIV><FONT size=2>5862482--------------------------- 5862538</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> 669330--------------------------- 670956</FONT></DIV>
<DIV><FONT size=2>5860859---------------------------5860910</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I would like line # 1 of the sub-image to be along the top
boundary of the rectangle, therefore it needs to be rotated by about 2 degrees
cw.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Any help would be appreciated.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2>Steve</FONT></DIV></FONT></DIV></DIV></BODY></HTML>