tn04462 Posted May 7, 2012 Share Posted May 7, 2012 I been trying to use imagemagick to put an image on top of another image but i have no clue why I can't get anything to create. I don't really understand the syntax of the compose.. i have been able to resize and crop images with convert. can anyone help me with the syntax please? here's the code for the syntax for convert Func fiximage($filename) $B1=0 $D1=0 $M1=0 $var = StringLeft($filename, 11) $var2 = StringRight($filename,16) $B1 = StringInStr($filename, "B1") If $B1 > 0 Then $newfilename = $var & "-2.png" $img = ObjCreate("ImageMagickObject.MagickImage.1") $ret = $img.Convert($filename, _ "-resize", "378x392", _ "-crop", "282x392+48+0", _ $OD & $newfilename ) Return EndIf this is making my head spin thank you. Link to comment Share on other sites More sharing options...
tn04462 Posted May 7, 2012 Author Share Posted May 7, 2012 found the answer to this . thank you . Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 7, 2012 Moderators Share Posted May 7, 2012 Hi, tn04462. Glad you found your answer, care to share with the community? Your answer may help someone else doing a forum search on this subject some day "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now