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
The resize api is only available after decoding an image. Adding resize will not provide us with a performance improvement on thumbnail generation as the decode operation still needs to be invoked.
// Currently, heif_scaling_options is not defined yet. Pass a NULL pointer.
LIBHEIF_API
structheif_errorheif_image_scale_image(conststructheif_image* input,
structheif_image** output,
int width, int height,
conststructheif_scaling_options* options);
Description
Add ability to resize the primary image or thumbnail using the libheif native resize api.
New APIs
Usage
The code below would generate a 200x200 square thumbnail. This use case is valuable for heic images that don't have an embedded thumbnail.
The text was updated successfully, but these errors were encountered: