View Single Post
Posts: 56 | Thanked: 13 times | Joined on Mar 2012 @ Novosibirsk, Russia
#776
Hello,
Returning to size of icons in "meecast-icon-src" i've got a question: is it possible to change the size of output icon on the fly. Probably write some script that will retrieve icon having {meecast-icon-src} as parameter, resize it to some given size and put to some known path, from which billboard will show it. There are 2 questions in fact:
1. How to resize icon from command line
2. Will this mode of operation be supported by billboard: how will it notice change of resized icon? Maybe script should output path to the file and entire command for billboard should look like:
<<script: my_resize.sh {meecast-icon-src} 20 20>>

Thanks,
Serge.

Update: it seems I found answer on 2nd question upper in thread: looks like script shoud output the file name in form <</some/path/resized_icon.png>>, so the only 1st question remains.

Last edited by Loginin; 2013-04-02 at 03:14.