Page 1 of 1

Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 12:15 pm
by paquitohm
Hola a todos,

Tengo una imagen .jpg
Necesitaria recortarla por la derecha y por abajo para quitar el espacio en blanco "sobrante"

Alguna idea ?

Gracias

---

Hello everyone,

I have a .jpg image
I would need to cut it from the right and bottom to remove the "excess" white space

Any ideas ?

Thank you

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 1:07 pm
by Enrico Maria Giordano
Programmatically or manually?

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 1:38 pm
by paquitohm
Sorry. Programmatically

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 1:39 pm
by karinha

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 3:09 pm
by paquitohm
No vale Sr. Joao, yo preciso un recorte "trimmed" y no un recorte de unas posiciones determinadas
Gracias en todo caso

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 3:29 pm
by karinha
Lo siento, no tengo idea de cómo hacer esto.

Regards, saludos.

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 3:48 pm
by Enrico Maria Giordano
Me neither, sorry. :-(

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 3:48 pm
by Enrico Maria Giordano
Try asking the AI.

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 4:01 pm
by paquitohm
Found.
Using Mogrify from ImageMagick graphics package did the job:

Example:
Mogrify -trim c:\image.jpg

Regards

https://github.com/ImageMagick/ImageMagick
https://imagemagick.org/script/download.php

Re: Recortar imagen jpg

PostPosted: Tue Feb 13, 2024 4:04 pm
by Enrico Maria Giordano
Great! Good to know!