Previously there was a hard-coded limit of 192MB for the buffer length, preventing the library from processing larger files. The comment in the code mentioned the issue in NodeJS which was resolved in 2016 for Node 0.12 (which has reached its EOL long-long ago).
There is sort of a workaround for this limitation by using the separate and separateTextures options, but they are not
always a suitable solution.
Previously there was a hard-coded limit of
192MB
for the buffer length, preventing the library from processing larger files. The comment in the code mentioned the issue in NodeJS which was resolved in 2016 for Node 0.12 (which has reached its EOL long-long ago).There is sort of a workaround for this limitation by using the
separate
andseparateTextures
options, but they are not always a suitable solution.This change address #59 .