From 4fd0a69d7ba86e92390c421a745c6f32f1050c31 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Thu, 24 Mar 2022 18:24:06 -0400 Subject: ImBuf: Add support for WebP image format Currently only supports single image frames (no animation possible). If quality slider is set to 100 then lossless compression will be used, otherwise lossy compression is used. Gives about 35% reduction of filesize save when re-saving splash screens with lossless compression. Also saves much faster, up to 15x faster than PNG with a better compression ratio as a plus. Note, this is currently left disabled until we have WebP libs (see T95206) For testing precompiled libs can be downloaded from Google: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html Differential Revision: https://developer.blender.org/D1598 --- intern/cycles/cmake/macros.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'intern') diff --git a/intern/cycles/cmake/macros.cmake b/intern/cycles/cmake/macros.cmake index 0f2e1b50434..e69e31f8e52 100644 --- a/intern/cycles/cmake/macros.cmake +++ b/intern/cycles/cmake/macros.cmake @@ -101,6 +101,7 @@ macro(cycles_target_link_libraries target) ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARY} + ${WEBP_LIBRARIES} ${OPENJPEG_LIBRARIES} ${OPENEXR_LIBRARIES} ${OPENEXR_LIBRARIES} # For circular dependencies between libs. -- cgit v1.2.3