The best articles aobut images and their manipulation are
ImageStone and my personal favorite
CxImage. But both are written in C++ but there is real a whole lot of knowledge and work condensed. So I guess that it will save you a lot of time to carefully explore them.
A typical work flow in image processing is to detect and resolve the image format and than read the pixels and transform them into a approbiate format.