ResizeImage method change

Completely new ResizeImage method. Added test button
"Resize"