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

damien 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

  1. No trackbacks yet.