Results 2 comments of Jason Huang

There are a typo (NTML) in your code. You should modify it from "NTML" to "NTLM".

Maybe this program don't get any picture files from folder. This program only supports PNG file.