convert crop tobb filet keszit, miert?

Fórumok

Hello, egy pelda:

convert mountain.png -crop 1200x400x1x1 +repage -format png mountain--cr.png

 

es a kimenetnel 4 file keszitodik:

mountain--cr-0.png
mountain--cr-1.png
mountain--cr-2.png
mountain--cr-3.png

 

De miert? Nekem csak egy kep kell kimenetnek.

Sajna nem mindig a "-0", ami a jo...

Otlet? kosz

Hozzászólások

{size}{+-}x{+-}y Horizontal and vertical offsets x and y, specified in pixels. Signs are required for both. Offsets are affected by -gravity setting. Offsets are not affected by % or other size operators. Note that positive X and Y offsets are in the inward direction towards the center of the image for all -gravity options, except 'center'. For East, +X is left. For South, +Y is up. For SouthEast, +X is left and +Y is up. For center, the normal X and Y directional convention is used (+X is right and +Y is down).

Lehet, en vagyok ertetlen, de meg mindig nem latom at, hogyan lehet csak egy kepet kinyerni. Minta az lenne itt, hogy a kepet feldarabolja valamilyen szabaly szerint, amit a crop utan megadsz. Itt a cel nem ez. Hanem kivagni egy darab kepet, egy darab filenevvel.

Vagy az "x"-ekkel van baja? megnezem "+"-al is.