totalcross
totalcross copied to clipboard
Remove libjpeg sources from repo and use turbojpeg instead
- [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
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
🚀 🚀 🚀