I have a dirty working tree, dirty because I made changes to source files and touched up some images. I was trying to add just the images to the index, so I ran this command
git ls-files is a good way to list everything in your git repo
git ls-files
For your case you can do something like
git ls-files --modified | grep '\.png$' | xargs git add
List the modified files, filter by extension (.png in this case) and git add the resultant entries