scalableminds / webknossos-connect

Connect webKnossos with existing datasets (BossDB, Neuroglancer Precomputed)
GNU Affero General Public License v3.0
0 stars 0 forks source link

use jpeg4py #35

Closed jstriebel closed 5 years ago

jstriebel commented 5 years ago

This also feels much faster, need to add a benchmark which actually downloads some chunks in parallel.

before: decode_jpg 10 loops, best of 5: 25.2 msec per loop after: decode_jpg 100 loops, best of 5: 2.56 msec per loop

before: flame_pillow svg

after: flame_jpeg4py svg

PS: Possible alternative: https://github.com/lilohuang/PyTurboJPEG