You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TinyGLTF currently uses stb_image, stb_image_write for reading/writing images.
STB library is easy to use and embed, but has some security issues and slow to decode/encode(especially PNG)
are good alternative for reading/writing images with security/performance considered.
Support matrix
JPEG decoding: wuffs
JPEG encoding: No support in wuffs. We still need stb_image_write to encode JPEG
PNG decoding: wuffs or fpng
PNG encodng: fpng
Expected behaviour
Add support to use wuffs and fpng(for PNG) for better security and performance.
We also need a compile flag to disable using SIMD instrinsic for portability.
Add compile option to on/off SIMD instrinsics for better portablity
Describe the issue
TinyGLTF currently uses stb_image, stb_image_write for reading/writing images.
STB library is easy to use and embed, but has some security issues and slow to decode/encode(especially PNG)
are good alternative for reading/writing images with security/performance considered.
Support matrix
Expected behaviour
Add support to use wuffs and fpng(for PNG) for better security and performance.
We also need a compile flag to disable using SIMD instrinsic for portability.
WUFFS_CONFIG__AVOID_CPU_ARCH
The text was updated successfully, but these errors were encountered: