I put there my exe and made another folder(inside "program") called "imageformats" and moved there all the dll's,
And how does your application know where to find these dlls?
You have to add the path to your DLL's to the PATH environment variable.