The first image is a normal map. A normal map uses colours r,g,b to displace in the different directions x,y,z. Blender has only recently included tangent space normal maps.
The second image is a bump map. It uses a greyscale image to give the appearance of a normal displacement. It is an illusion that is broken when looking parallel to the bump mapped surface.