May 9, 2011

Top 10 Box Office Movies Wallpaper Generator

I saw a script IMPloader that fetches the posters for the top 10 Box Office movies of the week from http://www.impawards.com/, and automatically generates a wallpaper, it is requires Ruby, imagemagick and wget. If you are running Window, you probably don’t want to install these packages. We can do it with Mathematica with ImageAssemble and ImagePad functions introduced in 8.0.

movieposters_code

movieposters

Download the notebook: movieposters.nb

7 comments:

Per Møldrup-Dalum said...

Nice!

If you add:

Export[$UserDocumentsDirectory <> "/" <> DateString[{"Year"}] <> "/" <>
"MoviePoster " <> DateString[{"Year", "-", "Month", "-", "Day"}] <>
".jpg", poster];

and set-up a recurring task that fires every week or month, you've got a nice poster gallery in a couple of years.

On a Mac it is easy to set-up such a task using either the Lingon user interface to the launchd system or an iCal appointment that calls a AppleScript which again uses the "do shell script" command.

Both options utilizes that Mathematica now can be used at the command line with the "magic"

#!/usr/local/bin/MathematicaScript -script

Anonymous said...

Your contents are moving ahead with days persevere guys.

general recreation inc

Anonymous said...

Your composing is purely awe-inspiring that I desired to read such high quality material...term life insurance

Anonymous said...

It’s my fortune to go to at this blog and realize out my required stuff that is also in the quality.does full coverage cover other drivers

Anonymous said...

Totally unique stuff is here really amazing!!!cheap payday loans

Anonymous said...

Totally unique stuff is here really amazing!!! new york city loans

Anonymous said...

I don’t suppose many of websites give this kind of information. mengenai Perlindungan Asuransi Kesehatan