Weathermap Config Scale/Resize Script

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
chapatt
Posts: 1
Joined: Sun Jul 16, 2017 4:08 pm

Weathermap Config Scale/Resize Script

Post by chapatt »

A coworker put together some nice cacti weathermaps, but he was maintaining them at 640x480, and we want to keep them up on a large, 2k display. I figured there had to be a solution out there to generate different sized images without manually moving things around, and without the loss of resolution from zooming the image. I figure I'm still missing something, and would be happy to hear about it :P

But anyway, I hacked together this awk script the other day which takes a width, height, background image path, and new title, and tries to scale all of the absolute, pixel-based values in a .conf. Hopefully useful to someone.

https://github.com/chapatt/php-weathermap-scale
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests