scijs / get-pixels

Reads an image into an ndarray
MIT License
540 stars 108 forks source link

How to handle larger image maps? #46

Open tech4GT opened 5 years ago

tech4GT commented 5 years ago

So we are trying to to use get-pixels on larger images but the array length is exceeding the maximum allowed length of js typed array. Could someone suggest a solution to this? Thanks! cc @jywarren

jywarren commented 5 years ago

Would substituting this package be possible?

https://www.npmjs.com/package/lds

On Sat, May 25, 2019, 9:41 PM Varun Gupta notifications@github.com wrote:

So we are trying to to use get-pixels on larger images but the array length is exceeding the maximum allowed length of js typed array. Could someone suggest a solution to this? Thanks! cc @jywarren https://github.com/jywarren

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scijs/get-pixels/issues/46?email_source=notifications&email_token=AAAF6J7K6W4HTKIAIATCXUDPXHTCLA5CNFSM4HPVWK5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GV33GVQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAF6J4MQDLXA7MLCXEQGXDPXHTCLANCNFSM4HPVWK5A .

jywarren commented 5 years ago

Documented in depth at https://github.com/publiclab/image-sequencer-app/issues/12 --

RangeError: Invalid typed array length: 13650935808