You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Ryan Hendrickson <ry...@gmail.com> on 2022/05/12 16:19:40 UTC

nifi-content-viewer with mime.type of image/webp

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

Re: nifi-content-viewer with mime.type of image/webp

Posted by Ryan Hendrickson <ry...@gmail.com>.
Ohhh, I gotcha.  Thank you!  I misread the comment as no changes needed.

We really appreciate the upgrade!

Best,
Ryan

On Mon, May 23, 2022 at 11:51 AM Matt Burgess <ma...@apache.org> wrote:

> It didn't display in NiFi until NIFI-10027 [1], which has recently
> been merged. It will be in the upcoming 1.17.0 release (or perhaps a
> 1.16.3 if the current RC is not released).
>
> Regards,
> Matt
>
> [1] https://issues.apache.org/jira/browse/NIFI-10027
>
> On Mon, May 23, 2022 at 11:46 AM Ryan Hendrickson
> <ry...@gmail.com> wrote:
> >
> > > "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.hendrickson@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 <jo...@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.hendrickson@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
>

Re: nifi-content-viewer with mime.type of image/webp

Posted by Matt Burgess <ma...@apache.org>.
It didn't display in NiFi until NIFI-10027 [1], which has recently
been merged. It will be in the upcoming 1.17.0 release (or perhaps a
1.16.3 if the current RC is not released).

Regards,
Matt

[1] https://issues.apache.org/jira/browse/NIFI-10027

On Mon, May 23, 2022 at 11:46 AM Ryan Hendrickson
<ry...@gmail.com> wrote:
>
> > "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 <ry...@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 <jo...@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 <ry...@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

Re: nifi-content-viewer with mime.type of image/webp

Posted by Ryan Hendrickson <ry...@gmail.com>.
> "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.hendrickson@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 <jo...@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.hendrickson@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
>>>
>>

Re: nifi-content-viewer with mime.type of image/webp

Posted by Ryan Hendrickson <ry...@gmail.com>.
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 <jo...@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.hendrickson@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
>>
>

Re: nifi-content-viewer with mime.type of image/webp

Posted by Joe Witt <jo...@gmail.com>.
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.hendrickson@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
>