How to mod the graphics?

How does one go about modding the terrain tiles? I have some experience with scripting and did try to search for any kind of clues but I'm coming up empty handed. I wasn't too sure that the searches I was doing were resulting in relevant programs for getting the image files out of the resource files and then putting them back in again. Any insight would be appreciated.