2012-01-02

How to extract some part of an image?

1張圖干焦欲挃內底1部份?

嘛會當用「convert」來掠。親像下底原圖1366x768:


若干焦欲挃倒手爿頂懸640x320的部份,按呢會當:

convert -extract 640x320+0+0 origin.png part.png


Done!

注意:「+0+0」是「offset」,愛寫落,無,就變做咧「resize」。

沒有留言:

張貼留言