Help - Search - Members - Calendar
Full Version: superkaramba amarok script
Neowin Forums > *nix Customization & Support > Customizing your *nix Desktop
Lechio
I'm trying to make a karamba script to control amarok and display the
info of the currently playing song (name of the song + time remaining + album cover). The
most part i've managed to do, but i'm stuck with a "small problem". The script
takes input from dcop to get the info from amarok and control it.
Now the problem is when it comes to display the images from the cover. The images get displayed
too big, on the original size that is... For instance if the album cover has an image
with a size of let's say 640*480 it get's displayed like that. Here's the preview that i get:

user posted image

What i need is a way to convert this image (resize it for a smaller size (64*64) so that it can
fit on a background for displaying in karamba.
If anyone has some experience with python and can help out with this, it would be much appreciated.
Tanx smile.gif
markjensen
Can you pass it through the shell and use convert on it to change the size?
Lechio
yap it works with convert. preview
The inconvenient is that it has to create new images...
But if there is no other solution for it i'll stick with this
Tanx mark smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.