added memory allocation for mtp image
blur is now working, now have to make the program work dynamically according to xst yst