VolkovLabs / business-media

The Business Media panel is a Grafana plugin that renders PNG, JPG, GIF, MP4, WEBM, MP3, OGG, and PDF files encoded in the base64 format and URL.
https://docs.volkovlabs.io
Apache License 2.0
24 stars 3 forks source link

Display of low-res images blurry, no option to change image-rendering mode #88

Closed denglerchr closed 1 year ago

denglerchr commented 1 year ago

Hello, We are trying out your panel in SMS-group for the display of images stored in our database. It works well, except with extremely lo-resolution images (in the range of 40x50 pixels), where the display seems to interpolate between pixels. You are probably using auto mode for image rendering, see https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering . It would be great to have the option to change the rendering mode if required.

Attached what we have currently vs what we want to display (browser default vs gimp). image

mikhail-vl commented 1 year ago

@denglerchr Thank you for the feature request.

It's implemented in the upcoming release.

denglerchr commented 1 year ago

Thanks a lot, looking forward to it :)

mikhail-vl commented 1 year ago

@denglerchr Plugin was submitted to the Grafana team for review.

Meanwhile, you can download it from GitHub to test: https://github.com/VolkovLabs/volkovlabs-image-panel/releases/tag/v4.1.0.