Error "Image contains error" in image extension

I am using image extension.

i applied following configuration in main.php.








            // GD or ImageMagick


            // ImageMagick setup path




i use following action in siteController to display image.

 public function actionImageResize()



            $image = new Image('images/banner4.jpg');

            CVarDumper::dump($image, 10, true);

            $image->resize(400, 100);





but it gives me following error.

The image "http://localhost:83/mysite/site/ImageResize" cannot be displayed because it contains errors. 

Anything Wrong??