Closed kipliklotrika closed 7 years ago
With the current apporach of having Number[], millions of objects are created on the heap. This is a problem especially on Android. Therefore I'd like to see this pull request merged which replaces arrays of Number by ByteBuffer.
Used ByteBuffer instead of arrays in Raster objects to avoid usage of arrays and multidimensional arrays. This will allow us more optimized use of memory and possibility to use library in low-memory environment.