WallPaperChanger
WallPaperChanger copied to clipboard
Remove image size restriction
Currently, the application has a self-imposed dimensions on what images can be used. This is not ideal, so far the changes needed I have identified are the following.
- Positioning the widget and the day text using percentages and padding
Yeah I agree, there needs to be a fix for this.
application has a self-imposed dimensions on what images can be used
The application doesn't require specific dimensions - the 3936x2624 pixels is a recommended image size: other image sizes also work, but for consistency, all images happen to be this size. The date text positioning was initially centered, and is calculated by the width/height of the image and the size of the text itself.
In 4e9bed55e431cbd5f324d022dd4d103453b8b53d, I have added further customization to the wallpaper. This included anchors that the compile time text and date/day text can be positioned with. These are calculated the same way as if it were centered (with ratios).
The only elements whose positions are still fixed are:
- the widget
- the watermark
I couldn't find any information on positioning screen elements using pillow with percentages and padding.