I've looked at that source and I can't spot the problem just now. Could you send me the file you're trying to load (untitled.pci) to akeys "at" icscotland "dot" net, please? I want to see if I can display the thing properly in a quick test cradle to make sure it's not the image itself that's faulty.

I had a look inside the tga loader of DOT. It looks like the property "Data" allows you access to the pixels, and the "header" property gives info about the image (width, height, etc.). It shouldn't be too difficult to modify the pixels with that info. You should be able to typecast the Data property then modify the pixels directly, I'd assume (without having used DOT myself).