totalcross icon indicating copy to clipboard operation
totalcross copied to clipboard

Remove libjpeg sources from repo and use turbojpeg instead

Open flsobral opened this issue 4 years ago • 1 comments

  • [x] Convert totalcross custom code injected inside the jpeg sources in proper bindings for streams
  • [x] Build jpegturbo automatically as a static library using CMake with SIMD enabled
  • [x] Remove libjpeg sources from repo
  • Test new build on every target
    • [ ] Linux x64
    • [x] Linux arm32v7
    • [ ] Linux arm64
    • [ ] Android
    • [ ] iOS
    • [ ] Win32
    • [ ] WinCE
    • [x] MacOS (only used for debugging, but that's important for development)
  • [x] Test performance on iMX6ULL

flsobral avatar Mar 19 '21 17:03 flsobral

Results observed using a 2500x1095 image on a iMX6ULL:

loading the image at full size: 50% faster using Image.getJpegBestFit to load the image at 1250x548: 20% faster

🚀 🚀 🚀

flsobral avatar Mar 19 '21 17:03 flsobral