Cutting image and reassembling
Posted: 2019-06-05T11:46:13-07:00
Hello. I'm still learning ImageMagick but this issue looks too advanced.
I need to cut texture with different dimensions to 36px x 36px pieces from first row left to right, then next row left to right, etc.
And reassemble them in the same manner to images like 512x512, if it's too small, then 1024x512, if again - 1024x1024, if again - 2048x1024, if again - 2048x2048 (there is no need for more).
Doesn't matter format of input/output if it supports TrueTypeAlpha.
Is it possible to do?
I'm using IM 7.0.8.
I need to cut texture with different dimensions to 36px x 36px pieces from first row left to right, then next row left to right, etc.
And reassemble them in the same manner to images like 512x512, if it's too small, then 1024x512, if again - 1024x1024, if again - 2048x1024, if again - 2048x2048 (there is no need for more).
Doesn't matter format of input/output if it supports TrueTypeAlpha.
Is it possible to do?
I'm using IM 7.0.8.