DEV Community

Cover image for Paypr
Jake Hayes
Jake Hayes

Posted on • Originally published at jakehayes.net on

Paypr

Paypr

This is an Open Source project, you can find the repo here.

Have a folder of images that you have your computer shuffle through as your wallpapers? Have some images you want to add that aren’t quite the right size or aspect ratio? Have you put pictures in your Chromecast Ambient mode folder and noticed that images that don’t quite fit have a cool affect so that it fits on the screen and you can see the whole image?

Well this project aims to bring that simple thing that the Chromecast Ambient mode does to any image. If you look at the code, you will see that it is very simple. All it does it take the image, copy it stretch it to fit whatever resolution the user decides (with FHD 1920x1080 being the default), blurs that and then centers the original image, shrinking it to fit if necessary. That’s it. Now you have a new picture that can be used as a wallpaper and can be the exact size of your screen!

I used to do this by hand, but thought that I could automate it so I did. I just believe having the image blurred looks better than having whatever the windows color is on the sides when the image doesn’t fit.

Give it a try for yourself! Or fork the code and submit a PR if you can think of a helpful feature!


Before

Before

After

After

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (0)

Image of DataStax

Langflow: Simplify AI Agent Building

Langflow is the easiest way to build and deploy AI-powered agents. Try it out for yourself and see why.

Get started for free

👋 Kindness is contagious

If this post resonated with you, feel free to hit ❤️ or leave a quick comment to share your thoughts!

Okay