Hi, Maybe it is the expected behaviour, but considering a 200x200 PNG image with a 100 px border — that makes it 400x400. We have : $ convert input.png -trim output.png $ identify output.png output.png PNG 200x200 400x400+100+100 8-bit sRGB 12.9KB 0.000u 0:00.000 How comes it isn't 200x200 200x200+0+ ...