Want to crop bottom line on my thumbs

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
R3nato
Posts: 5
Joined: 2015-10-21T05:07:22-07:00
Authentication code: 1151

Want to crop bottom line on my thumbs

Post by R3nato »

Hello, I use Imagemagick for my tube site and I have next comand line in config:

$imagick_command = "-define filter:blur=1.40 -filter Gaussian -sharpen 1.1x1 -enhance -contrast -quality 100 -brightness-contrast -5% -contrast-stretch 10"; //command line for imagemagick

My tube script also is making a resize of the thumbs at 320x240

I want to add at comand line a bottom crop of 15px from thumb.

Please let me know the command line I have to add.

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PAID CONSULTING Want to crop bottom line on my thumbs

Post by fmw42 »

I moved this to the Users forum, since it did not seem to need Paid Consulting, but is a just a request for a simple command. If I have misunderstood, I can move it back to the Paid Consulting forum, if you tell me to do so.

See -chop http://www.imagemagick.org/Usage/crop/#chop
R3nato
Posts: 5
Joined: 2015-10-21T05:07:22-07:00
Authentication code: 1151

Re: Want to crop bottom line on my thumbs

Post by R3nato »

I tried to understand how to put the -crop command to cut only 15px from bottom but I can`t understand.

Can you please tell me exaclty what I have to add in comand line?

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Want to crop bottom line on my thumbs

Post by fmw42 »

It is not -crop, but -chop. Add

Code: Select all

-gravity south -chop 0x15
see
http://www.imagemagick.org/Usage/crop/#chop
Post Reply