Pixel output – rendering images
For the reasons outlined in the previous section, it is recommended that you use scalable graphics (normally SVG files) for icons and other image-based components of user interfaces. It will sometimes be necessary to work with bitmap graphics (those defined by a collection of pixels rather than graphical features). If you are loading and managing images, or if you want to display detailed graphical elements using every pixel available, then this section contains important information about how to proceed.
Images
Image content in Fyne defines graphical content that will normally stretch or shrink to the space that is allocated to it. Loading a bitmap image (which has dimensions that are defined by the number of pixels) into a scalable output may not provide the expected outcome. The rendered output of a size defined in pixels will vary depending on the scale of the output device or user preferences. For this reason, Fyne does not normally...