Replies: 2 comments 15 replies
-
My initial feeling is that |
Beta Was this translation helpful? Give feedback.
-
Hi @jgodfrey, just posted my article on the Matting feature: https://www.thedigitalpictureframe.com/activate-the-power-of-the-magic-matting-feature-on-your-raspberry-pi-picture-frame/ I noticed that in our default configuration.yaml file the styles are not exactly the same as in the Wiki and we should probably align the two.
Matting is a superb new feature of PictureFrame. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Originally, the auto-matting feature was either ON (all images were matted) or OFF (no images were matted). Helge has since added an experimental
mat_portraits_only
feature that's designed to auto-mat only portrait images.(As we've discussed elsewhere), I think we need a more general way to control the matting of only some images - likely based on comparing the aspect ratio of the image to that of the screen. For example, we could auto-mat images whose aspect ratio doesn't match the screen's aspect ratio (within some specified tolerance).
Assuming we add such a feature (and I think we should), does that eliminate the need for Helge's explicit _
mat_portraits_only
addition? I think it does, as it'd allow images that don't fit the screen to be auto-matted, which I think is the main motivation behind Helge's addition.Also, it seems a bit more flexible as it'd allow landscape images (that didn't fit the screen aspect) to be auto-matted too.
Of course, all of this would require that the
mat_images
property was set to True to start with. That is, you don't have to mat anything if you don't want to.Really, just trying to decide whether this new option needs to coexist with the
mat_portraits_only
feature, or whether it can replace it...Beta Was this translation helpful? Give feedback.
All reactions