i't suggest you use vampyre imaging lib, it loads jpg, bmp and gif with no vcl.