Image is always appearing in the upper left corner why??
Posted: 2012-06-20T19:34:57-07:00
In the Imagemagick I have a big problem. Whenever I apply composite for the images, the final image always appearing in the upper left corner. I have tried all the possibilities. Even I tried in the Imagemagick studio.. but same story... therefore I couldn't get the full image, top of the image is in out of the screen...
please look this image : http://s13.postimage.org/spdua2xtz/problem.jpg
I've tried +repage, -page and everything.. I don't know what's the problem... here is my code :
please look this image : http://s13.postimage.org/spdua2xtz/problem.jpg
I've tried +repage, -page and everything.. I don't know what's the problem... here is my code :
Code: Select all
// skew the image
exec('bash skew.sh -a 90 -m pixels -d r2t flate2.png skew_flate.png');
//3d rotate - pan
exec('bash rotate3D.sh 8,0,0 skew_flate.png s_r_img.png');
//3d rotate - roll
exec('bash rotate3D.sh 0,0,-10 s_r_img.png s_r_rr_img.png');
//composite the image
exec('composite -gravity center -geometry -25+5 -compose SrcOver book_trans.png s_r_rr_img.png final_img_ffff.png');