Monday, March 6, 2006

Panoramio in press

Panoramio has appeared in March edition of The Atlantic Monthly inside a long article about Google Earth: "Spy's-eye View"

Panoramio in The Atlantic


And also the last week in El PaĆ­s, the leading Spanish newspaper:

Panoramio in ElPais

Friday, March 3, 2006

Alpha in PNG images

Quick trivia:

Why do some PNG images show with weird backgrounds in Explorer ≤6?

(Remember I said Explorer. If you see these images with a white background you're seeing them with an PNG alpha capable browser, aka "anything but explorer".)

I hope we all know by now that Explorer doesn't render correctly PNG images with an alpha channel (ie. with transparent parts). But, if it doesn't render them correctly, how do it render them?

It renders them against a solid color background, instead of using the content of the page as background. And what color does it use for the background? Actually the color is inside the PNG file itself, and you can choose it!

If you use, as I do, The GIMP you can check the option "Save the background color" when you save a PNG file. That option will set as "background color" the current background color in your palette (green in the image).

Check background color

Foreground and background colors in the Gimp

Carefully choosing your background color you will be able to use your PNG files with an alpha channel if you have a solid background in your page.

Explorer handles correctly the case of a 1-bit alpha channel in the PNG images (as with GIF images), so the remaining buggy case remains 8-bit alpha channel against a non solid color page. For that one you will have to resort to Explorer filters to make it work. But be careful, filters are slow, and if you have a lot of little images using filters for the alpha channel will make your page extremelly slow to load!

Thursday, March 2, 2006

Tagging photos

After yet one more excellent suggestion of Matthew & Thorsten, we decided to implement tags in the photos.

Actually, we had tags in the pipeline since almost the beginning of Panoramio, but there was always just-one-more-thing to do before. Not this time.

Oh, I know, everybody under the Sun implements tags nowadays. But they're neverless useful, if not original. Enjoy them!