Hi everyone =] (look, my enlgish isn't good, I'm so sorry )
I need help to update a very old code version for compatibility to new IMagik version. Who did this code, did a looooooooong time ago. I wanna update it but I'm just a "curious" man, not a programmer
What the code do is: merge transp images with different sizes at specific positions (x,y)
THE CODE:
combine -geometry 1920x1080!+407+145 -compose over -quality 100 fundo.png cidade\araraquara.png temp.png
combine -geometry 1920x1080!+292+855 -compose over -quality 100 temp.png dia\quinta.png temp.png
combine -geometry 1920x1080!+286+441 -compose over -quality 100 temp.png icone\2.png temp.png
combine -geometry 1920x1080!+270+288 -compose over -quality 100 temp.png maxima\29.png temp.png
combine -geometry 1920x1080!+410+309 -compose over -quality 100 temp.png minima\16.png temp.png
combine -geometry 1920x1080!+290+701 -compose over -quality 100 temp.png ur\52.png temp.png
combine -geometry 1920x1080!+307+761 -compose over -quality 100 temp.png mm\0.png temp.png
copy temp.png pronto\hdv\com_fundo\araraquara.png
del temp.png
What I have to change? I've tried some thing but didn't worked.
[SOLVED!] Merge Images w/ different sizes (Update code from IMagik 4.15 to 6.9.1)
[SOLVED!] Merge Images w/ different sizes (Update code from IMagik 4.15 to 6.9.1)
Last edited by Prags on 2015-05-20T06:23:11-07:00, edited 1 time in total.
Re: Merge Images w/ different sizes (Update code from IMagik 4.15 to 6.9.1)
Try this and see if it works:
Code: Select all
convert fundo.png cidade\araraquara.png -geometry 1920x1080!+407+145 -composite -compose over -quality 100 temp.png
Re: Merge Images w/ different sizes (Update code from IMagik 4.15 to 6.9.1)
I did this:
convert fundo.png cidade\araraquara.png -geometry 1920x1080!+407+145 -composite -compose over -quality 100 temp.png
convert temp.png dia\quinta.png -geometry 1920x1080!+292+855 -composite -compose over -quality 100 temp.png
convert temp.png icone\2.png -geometry 1920x1080!+286+441 -composite -compose over -quality 100 temp.png
convert temp.png maxima\29.png -geometry 1920x1080!+270+288 -composite -compose over -quality 100 temp.png
convert temp.png minima\16.png -geometry 1920x1080!+410+309 -composite -compose over -quality 100 temp.png
convert temp.png ur\52.png -geometry 1920x1080!+290+701 -composite -compose over -quality 100 temp.png
convert temp.png temp.png mm\0.png -geometry 1920x1080!+307+761 -composite -compose over -quality 100 temp.png
copy temp.png pronto\hdv\com_fundo\araraquara.png
del temp.png
Result:
What I need:
convert fundo.png cidade\araraquara.png -geometry 1920x1080!+407+145 -composite -compose over -quality 100 temp.png
convert temp.png dia\quinta.png -geometry 1920x1080!+292+855 -composite -compose over -quality 100 temp.png
convert temp.png icone\2.png -geometry 1920x1080!+286+441 -composite -compose over -quality 100 temp.png
convert temp.png maxima\29.png -geometry 1920x1080!+270+288 -composite -compose over -quality 100 temp.png
convert temp.png minima\16.png -geometry 1920x1080!+410+309 -composite -compose over -quality 100 temp.png
convert temp.png ur\52.png -geometry 1920x1080!+290+701 -composite -compose over -quality 100 temp.png
convert temp.png temp.png mm\0.png -geometry 1920x1080!+307+761 -composite -compose over -quality 100 temp.png
copy temp.png pronto\hdv\com_fundo\araraquara.png
del temp.png
Result:
What I need:
Re: Merge Images w/ different sizes (Update code from IMagik 4.15 to 6.9.1)
Worked!
I deleted the 1920x1080! part.
Thnx man!
I deleted the 1920x1080! part.
Thnx man!