Skip to content
 

Image to BML Converter

To help my friends easily publish con­tent for Blin­ken­lights Ste­reos­cope, I’ve made a sim­ple con­ver­ter in Java that will allow you to con­vert an image sequence into a Blin­ken­lights movie.

All you have to do is gene­rate a greys­cale image sequence (PNG for­mat is pro­bably best) in your favou­rite pro­gram (After Effects, 3D pro­grams, Pro­ces­sing, Logo, wha­te­ver) and run it through my con­ver­ter. For the Ste­reos­cope pro­ject you should make your image size match one of the top two screens, or the entire vir­tual matrix (96×32 pixels).

Check out the Vir­tual Matrix map on the Ste­reos­cope Create page to see how it all lays out. Unfor­tu­na­tely the num­bers on the map are back­wards, so you will need to do a bit of math if you want to address the buil­dings precisely.

You can down­load the jar file for the con­ver­ter tool below, dou­ble click it, and con­vert your image sequence to a BLM file. If you would like to test the movie, and you’re using OS X, you can down­load the Ste­reos­cope Crea­tion Tools (from the page lin­ked above) to get a simu­la­tor and play­back tool. If you’re on Win­dows or Linux, there is no simu­la­tor for you yet.


Down­load Image to BML Con­ver­ter. (requi­res Java 1.5 or later).

Update 20081001: I acci­den­tally published a jar that was com­pi­led for Java 1.6. I’ve repla­ced it. If you down­loa­ded this yes­ter­day and it didn’t work, try again!

Source code is avai­la­ble under the GPL, but not well pac­ka­ged yet. Ask and ye shall receive.

3 Comments

  1. […] Fra­ser pos­ted an image con­ver­ter that crea­tes BML files that can be used for Ste­reos­cope. This means you can con­vert any animation […]

  2. Jenn says:

    I tried expor­ting my clip from final cut pro to a png image sequence and then ope­ning the image sequence in the BML con­ver­ter, all the ima­ges are gre­yed out. So I can’t con­vert my pngs… It’s not wor­king for me. Am I doing it right?

  3. Dan Fraser says:

    Make sure the source ima­ges are grays­cale. The con­ver­ter only uses the blue chan­nel to get the bright­ness of the final out­put pixels. You’ll get the best results if you start with greys­cale images.

    If you still have a pro­blem, please send me an email with one of your ima­ges and the BML file that was made, and I will see if I can find the problem!

Leave a Reply