Changes between Version 3 and Version 4 of Ticket #6422, comment 2


Ignore:
Timestamp:
Mar 23, 2016, 6:23:07 AM (8 years ago)
Author:
dsogari

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6422, comment 2

    v3 v4  
    11Thanks Rouault. You're right, we could decide which entry to pick up every time the pixel value hits the entry. Or else ignore repeated entries while parsing the palette file.
    22
    3 Your concern about the later lines in the function could propably be addressed with the following, to avoid getting NaN in the calculation of dfRatio in case the 'i' picked up is not the first one:
     3Your concern about the later lines in the function could probably be addressed with the following, to avoid getting NaN in the calculation of dfRatio in case the 'i' picked up is not the first one:
    44
    55{{{