Recortar imagen jpg

Recortar imagen jpg

Postby paquitohm » Tue Feb 13, 2024 12:15 pm

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
paquitohm
 
Posts: 281
Joined: Fri Jan 14, 2022 8:37 am

Re: Recortar imagen jpg

Postby Enrico Maria Giordano » Tue Feb 13, 2024 1:07 pm

Programmatically or manually?
User avatar
Enrico Maria Giordano
 
Posts: 8725
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Recortar imagen jpg

Postby paquitohm » Tue Feb 13, 2024 1:38 pm

Sorry. Programmatically
paquitohm
 
Posts: 281
Joined: Fri Jan 14, 2022 8:37 am

Re: Recortar imagen jpg

Postby karinha » Tue Feb 13, 2024 1:39 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Recortar imagen jpg

Postby paquitohm » Tue Feb 13, 2024 3:09 pm

No vale Sr. Joao, yo preciso un recorte "trimmed" y no un recorte de unas posiciones determinadas
Gracias en todo caso
Last edited by paquitohm on Tue Feb 13, 2024 4:06 pm, edited 1 time in total.
paquitohm
 
Posts: 281
Joined: Fri Jan 14, 2022 8:37 am

Re: Recortar imagen jpg

Postby karinha » Tue Feb 13, 2024 3:29 pm

Lo siento, no tengo idea de cómo hacer esto.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7872
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil



Re: Recortar imagen jpg

Postby paquitohm » Tue Feb 13, 2024 4:01 pm

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
Last edited by paquitohm on Tue Feb 13, 2024 4:05 pm, edited 1 time in total.
paquitohm
 
Posts: 281
Joined: Fri Jan 14, 2022 8:37 am



Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 99 guests