Archive for May, 2008

Online Comics

Posted by admin on May 27th, 2008

nichtlustig.de

Unter http://www.nichtlustig.de gibt es wunderschöne Comics über depressive Elefanten, ängstliche Zebras, kreative Lemminge, sowie viele andere skurrile Alltags- und Nicht-Alltagssituationen. Absolut sehenswert!!!

Already a little while ago Robert postet some example code on how add meta data to images using the relatively new WPF.

After playing around with the code for a while, I got some weird exceptions thrown at me, e.g. “A first chance exception of type ‘System.Runtime.InteropServices.COMException’ occurred in PresentationCore.dll“. Now, the only thing I had changed was letting the tagging routine run in a seperate thread:

[STAThread]
static void Main()
{
Thread t = new Thread(writeMetadata);
t.Start();
Application.Run(new Form1());
}
static void writeMetadata()
{
// write the metadata to the image here
}