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
Hello, thanks for creating jpegli and many of the JPEG-XL features it descends from. This suggestion was originally discussed at lovell/sharp#4018 (comment) and I'm opening an issue here on the recommendation of lovell/sharp#4018 (comment)
The libjpeg-turbo approved (and mozjpeg implemented) method of configuring a JPEG encoder whilst maintaining ABI compatibility is to use its extension framework.
This is provided via a series of functions such as jpeg_c_bool_param_supported and jpeg_c_set_bool_param (with similar functions for integer, float etc. types). These were added to mozjpeg via mozilla/mozjpeg@db2986c
As well as fine-grained control over specific encoder features, there is also a simpler JINT_COMPRESS_PROFILE setting that provides a single switch between "use all features" JCP_MAX_COMPRESSION and "do nothing, behave like libjpeg" JCP_FASTEST. This was added to mozjpeg via mozilla/mozjpeg@3e2cf69
Hello, thanks for creating jpegli and many of the JPEG-XL features it descends from. This suggestion was originally discussed at lovell/sharp#4018 (comment) and I'm opening an issue here on the recommendation of lovell/sharp#4018 (comment)
The libjpeg-turbo approved (and mozjpeg implemented) method of configuring a JPEG encoder whilst maintaining ABI compatibility is to use its extension framework.
This is provided via a series of functions such as
jpeg_c_bool_param_supported
andjpeg_c_set_bool_param
(with similar functions for integer, float etc. types). These were added to mozjpeg via mozilla/mozjpeg@db2986cAs well as fine-grained control over specific encoder features, there is also a simpler
JINT_COMPRESS_PROFILE
setting that provides a single switch between "use all features"JCP_MAX_COMPRESSION
and "do nothing, behave like libjpeg"JCP_FASTEST
. This was added to mozjpeg via mozilla/mozjpeg@3e2cf69For reference, the complete set of features mozjpeg exposes via the extension framework can be seen at https://github.com/mozilla/mozjpeg/blob/6c9f0897afa1c2738d7222a0a9ab49e8b536a267/jpeglib.h#L277-L314
The text was updated successfully, but these errors were encountered: