<div dir="ltr">Hi Jukka,<div>Good point. In fact, that's one of the reasons I want to set the noData flag. I figure when compressing hopefully the compressor will see that it is "noData" and will treat it differently from the way it would an actual value (which results in things like your mentioned 255,255,254) so I won't get the white-border-effect. I guess I'll find out if/when I get to that point.</div>

<div><br></div><div>Cheers,</div><div>Jonathan</div><div><br></div><div><br><div class="gmail_extra">
<br><br><div class="gmail_quote">On 4 December 2013 06:58, Jukka Rahkonen <span dir="ltr"><<a href="mailto:jukka.rahkonen@mmmtike.fi" target="_blank">jukka.rahkonen@mmmtike.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">Jonathan Moules <jonathanmoules <at> <a href="http://warwickshire.gov.uk" target="_blank">warwickshire.gov.uk</a>> writes:<br>
<br>
><br>
><br>
><br>
> Hi Even,<br>
> That worked great.<br>
> It figures that I'd tried about 6 different permutations, including a few<br>
without "-hidenodata"; but none of them was the right one it seems.<br>
><br>
><br>
> It's no problem recreating the tifs as they're small test tifs that takes<br>
a few seconds to process.<br>
><br>
> Many thanks!Jonathan<br>
<br>
</div>Hi,<br>
<br>
Be warned that the result may not be what you believe. You are compressing<br>
to jpeg and as a lossy method it does not store constant pixel values for<br>
the whole nodata area. If 255-255-255 pixels are nodata values you will get<br>
also pixels like 255-255-254 here and there and they will not be transparent<br>
in applications. That may not be a problem for you if you combine<br>
rectangular images with full of data into a mosaic but if you warp images<br>
one by one into another projection so that they will get rotated and then<br>
want to use the warped images side by side you would see that the<br>
overlapping areas look bad.<br>
<br>
-Jukka Rahkonen-<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>