<div dir="ltr"><div>Hi,</div><div><br></div><div>So based on that RFC it is a breaking change when reading signed images. I confess that this type of silent behavor change scares me.<br></div><div><br></div><div>Why dont make this an opt-in behavior instead of just breaking application code silently? Otherwise, I would rather have GDT_Byte removed so that application code would not compile against new versions of GDAL. At least that makes migration to new versions less risky.<br></div><div><br></div><div>Best,</div><div><br></div><div>hermann<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>----------------------------------------------------------------------<br>Hermann Rodrigues<br><a href="mailto:hermann.rodrigues@gmail.com" target="_blank">hermann.rodrigues@gmail.com</a><br><a href="mailto:hermann@csr.ufmg.br" target="_blank">hermann@csr.ufmg.br</a><br><span style="font-size:12.8px">Twitter: @horodrigues | @dinamica_ego</span></div><div></div><div>Centro de Sensoriamento Remoto / UFMG<br><a href="https://csr.ufmg.br" target="_blank">https://csr.ufmg.br</a> | <a href="https://dinamicaego.com" target="_blank">https://dinamicaego.com</a></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 16, 2022 at 11:38 AM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>Le 16/11/2022 à 17:32, Hermann
      Rodrigues a écrit :<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>I am a bit late for this discussion, but can someone please
          clarify if this is a breaking change? Is this keeping the old
          behavior in place when reading GDT_Byte or replacing it
          completely when reading rasters storing 8-bit pixels? <br>
        </div>
      </div>
    </blockquote>
    <p>This doesn't affect GDT_Byte rasters that were really unsigned
      8-bit pixels.</p>
    <p>For signed 8-bit pixels,
<a href="https://gdal.org/development/rfc/rfc87_signed_int8.html#backward-compatibility" target="_blank">https://gdal.org/development/rfc/rfc87_signed_int8.html#backward-compatibility</a>
      should answer your question<br>
    </p>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        Best,
        <div><br>
        </div>
        <div>hermann<br>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr">
              <div dir="ltr">
                <div>----------------------------------------------------------------------<br>
                  Hermann Rodrigues<br>
                  <a href="mailto:hermann.rodrigues@gmail.com" target="_blank">hermann.rodrigues@gmail.com</a><br>
                  <a href="mailto:hermann@csr.ufmg.br" target="_blank">hermann@csr.ufmg.br</a><br>
                  <span style="font-size:12.8px">Twitter: @horodrigues |
                    @dinamica_ego</span></div>
                <div>Centro de Sensoriamento Remoto / UFMG<br>
                  <a href="https://csr.ufmg.br" target="_blank">https://csr.ufmg.br</a>
                  | <a href="https://dinamicaego.com" target="_blank">https://dinamicaego.com</a></div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, Nov 16, 2022 at 8:04
          AM Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I
          declare this motion passed with +1 from PSC members KurtS,
          JukkaR, <br>
          MateuszL and me.<br>
          <br>
          Even<br>
          <br>
          Le 14/11/2022 à 13:22, Even Rouault a écrit :<br>
          > Hi,<br>
          ><br>
          > I feel the discussion phase has finished. There were a
          few questions <br>
          > about the existing GDT_Byte unsigned 8-bit integer type,
          if it should <br>
          > be renamed/aliased/etc, but no obvious conclusion emerged
          from this, <br>
          > and I'd suggest we keep with the status-quo with
          GDT_Byte, and the RFC <br>
          > remains on just adding GDT_Int8 for signed 8-bit integer.<br>
          ><br>
          > Motion:<br>
          ><br>
          > Adopt RFC 87: Signed int8 data type for raster <br>
          > (<a href="https://github.com/OSGeo/gdal/pull/6634" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/pull/6634</a>)<br>
          ><br>
          > Starting with my +1,<br>
          ><br>
          > Even<br>
          ><br>
          -- <br>
          <a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
          My software is free, but my time generally not.<br>
          <br>
          _______________________________________________<br>
          gdal-dev mailing list<br>
          <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
          <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
        </blockquote>
      </div>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div>