Hi list,<div><br></div><div>I've got several png files with worldfiles.</div><div>I need them in another projection (28992 --> 3785).</div><div>I'm using gdalwarp to reproject to a tiff file and then I use gdal_translate to create a png file again.</div>
<div>My original png file is about 25 kB, the warped tiff is over 2MB and the translated png file is over 80 kB.</div><div><br></div><div>The 80 kB file is workable. But I think I can get the same result using the original png file but with a modified world file.</div>
<div>I did some tests and ended up with a world file that makes the png file load in the correct location and with the correct width and height.</div><div>All I'm missing are the rotation values in the world file. I can see the file needs to be rotated a bit, but can't figure out the algorithm behind it.</div>
<div><br></div><div>Most likely I'm not the first person to do this so I'm asking if someone can point me to the right direction.</div><div>Of course I did Google already.</div><div><br></div><div>Thanks,</div><div>
<br></div><div>Paul</div><div>The Netherlands (EPSG:28992)</div>