MapCanvas's setPixel method defect

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      OS: Windows 7 64-bit

      Enviroment: Eclipse

      When you use setPixel(int x, int y, byte color) method in MapCanvas class, all colors after 128 become transparent.

      The reason of that could be the fact that in Java maximum number of byte is 128 and minimum is -127 that causes wrong pixel set.

      I hope this bug report was helpful.

            Assignee:
            Unassigned
            Reporter:
            Pasha Litvinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: