Home > cool hacks > Blending two RGBA 5551 layers

Blending two RGBA 5551 layers

I’ve just stumbled accross a small piece of code, written one year and a half ago, that blends two 512×512 RGBA 5551 images. It was originally written for a (good!) GIS, so the piece of code blends roads with rivers (and displays the result in a GdkPixbuf). The only thing interesting is that it uses some MMX, SSE2 and rdtsc instructions. You can have a look at the code in its git repository.
screenshot-layer-fusion

Categories: cool hacks
  1. June 15th, 2009 at 06:45 | #1

    Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting

  2. aneglus
    January 30th, 2011 at 03:10 | #2

    Why are you so mad about this javascript, I don’t understand gnome fame choice this time…

  1. No trackbacks yet.