widgets/image_page library

A widget to build the common single image based pages. Copyright (C) 2024-2026, Togaware Pty Ltd

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://opensource.org/license/gpl-3-0

Authors: Graham Williams, Yixiang Yin, Zheyuan Xu

Classes

ImagePage
The path is required. It is the path to a SVG or PNG file to display in the app and to open/save externally. If display is also provided then this will be a PNG that is displayed in the app, while the path is an SVG to open/save externally. This functionality was added to support the case where an SVG includes unsupported features (e.g., filter) that result in a black rectangle displayed. The PNG will be displayed in the app but external viewers get the SVG.