Overlay multiple images onto canvas
Posted: 2015-10-26T04:40:36-07:00
Hello,
I need to make one large image from multiple smaller images. All are pbm, but then I want the output as png. Additionally the first image needs to be resized to 50%x50%.
I understand more or less how to do this using many separate commands, but efficiency and speed is an issue so I'd like to do it in only one command.
Example:
Create white B&W (1bit) canvas sized 1000x3000
Load in first PBM image, resize 50% then overlay at position +30+77
Load in second image and over at position +30+77
Load in third image and over at position +541+300
Load in fourth image and over at position +100+1580
Then set white to be transparent
Then save as B&W PNG
Can that be done in one command?
Thanks!
I need to make one large image from multiple smaller images. All are pbm, but then I want the output as png. Additionally the first image needs to be resized to 50%x50%.
I understand more or less how to do this using many separate commands, but efficiency and speed is an issue so I'd like to do it in only one command.
Example:
Create white B&W (1bit) canvas sized 1000x3000
Load in first PBM image, resize 50% then overlay at position +30+77
Load in second image and over at position +30+77
Load in third image and over at position +541+300
Load in fourth image and over at position +100+1580
Then set white to be transparent
Then save as B&W PNG
Can that be done in one command?
Thanks!