> "Note that as NiFi uses a browser, the image(s) will only be displayed if the browser supports WebP" - Matt B. in ticket.
Is that the case? I can open a WebP image in Chrome, but if I read it in from disk, set the mime.type correctly, it will not display in NiFi. On Sat, May 14, 2022 at 2:16 AM Ryan Hendrickson < ryan.andrew.hendrick...@gmail.com> wrote: > https://issues.apache.org/jira/browse/NIFI-10027 Add image/webp support > to the content viewer > > WebP is a modern image format that provides superior lossless and lossy > compression for images on the web. Using WebP, webmasters and web > developers can create smaller, richer images that make the web faster. > > WebP lossless images are 26% smaller in size compared to PNGs. WebP lossy > images are 25-34% smaller than comparable JPEG images at equivalent SSIM > quality index. > > Lossless WebP supports transparency (also known as alpha channel) at a > cost of just 22% additional bytes. For cases when lossy RGB compression is > acceptable, lossy WebP also supports transparency, typically providing 3× > smaller file sizes compared to PNG. > > On Thu, May 12, 2022 at 12:28 PM Joe Witt <joe.w...@gmail.com> wrote: > >> Ryan. >> >> Nope - just means we dont have a viewer for that content type. Would >> need to be added. >> >> Thanks >> >> On Thu, May 12, 2022 at 9:19 AM Ryan Hendrickson < >> ryan.andrew.hendrick...@gmail.com> wrote: >> >>> Hi all, >>> I'm curious if anyone has used the nifi-content-viewer to view images >>> with a mime.type of "image/webp". >>> >>> When I load up an image with that mime.type it says "No viewer is >>> registered for this content type" >>> >>> https://developers.google.com/speed/webp >>> >>> Thanks, >>> Ryan >>> >>