![]() |
ImageMagick Commands
Hi guys,
I make thumbs for my MechBunny tube using ImageMagick. The current command i use is: "-enhance -strip -unsharp 1.0x1.0+0.5 -unsharp 1.0x1.0+0.5 -modulate 110,102,100 -unsharp 1.0x1.0+0.5 -contrast -gamma 1.2 -resize %SIZE% %INPUT_FILE% -filter Lanczos -filter Blackman -quality 95"; What i want to do, is trim about 2-5px from the bottom of each thumb, so that it hides the watermark in the visible thumb. (the WM is still displayed on the video). Does anyone know how i would achieve this? All the videos I'm uploading vary in size. Thanks Nick |
Quote:
i didnt wanted the watermark to show on the thum. so i changed the flow. eg for your case. like when uploading videos, first it should make thumbs then it should add watermark using ffmpeg. and you are done. |
in smart thumbs there is an option for a number of px to be cut from border for thumbs, sadly for mechbunny I didn't find such option and couldn't get it to work that way, hopefully someone will chime in with an answer.
|
I would take a bit of a different approach. I don't know the exact commands but I would maybe try something like making the thumbs BIGGER then what you wanted in the encoder (so 215x160 instead of 200x150 for instance) and then crop them down from the center using ImageMagick rather then try to trim the bottom few pixels?
Maybe "-resize 200x150^ -gravity Center -extent 200x150" will work wiht the above idea? |
All times are GMT -7. The time now is 11:45 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123