informatica:linux:imagemagick
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:imagemagick [2011/03/30 11:23] – 83.247.136.12 | informatica:linux:imagemagick [2021/03/30 20:57] (current) – [Cambiar tamaño lienzo (canvas)] jose | ||
|---|---|---|---|
| Line 132: | Line 132: | ||
| - | ====== | + | ====== |
| Corta una imagen desde los pixeles que quieras. | Corta una imagen desde los pixeles que quieras. | ||
| # convert imagen.png -crop 1982x1401+1982+0 crop.png | # convert imagen.png -crop 1982x1401+1982+0 crop.png | ||
| Line 151: | Line 151: | ||
| * West | * West | ||
| + | Para ampliar el lienzo, tenemos una imagen de 1600x1150 y queremos hacerla de 1600x1200 para poder hacer un vídeo. Añadimos por abajo un trozo azul para que se vea | ||
| + | convert jur.jpg -resize 1600x1200 -background Blue -gravity North -extent 1600x1200 jur2.jpg | ||
| + | {{: | ||
| ====== Girar imágen ====== | ====== Girar imágen ====== | ||
| Gira la imagen 40 grados | Gira la imagen 40 grados | ||
| # convert inicio.png -rotate 40 final.png | # convert inicio.png -rotate 40 final.png | ||
| + | ====== Varios ====== | ||
| + | |||
| + | * Mitad superior de la imagen | ||
| + | |||
| + | convert in.pnm -crop 100%x+50%+0+0 out.pnm | ||
| + | |||
| + | * Mitad inferior | ||
| + | | ||
| + | convert in.pnm -crop 100%x100%+0+2350 out.pnm | ||
informatica/linux/imagemagick.1301484186.txt.gz · Last modified: (external edit)
