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 [2012/06/05 17:22] – javi | 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 | ||
Line 160: | Line 163: | ||
* Mitad superior de la imagen | * Mitad superior de la imagen | ||
- | convert in.pnm -crop 100%x+50%x+0+0 out.png | + | 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.1338916943.txt.gz · Last modified: 2015/04/13 20:19 (external edit)