GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ImageMagick Commands (https://gfy.com/showthread.php?t=1164373)

DODevelopment 04-05-2015 10:33 AM

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

freecartoonporn 04-05-2015 07:45 PM

Quote:

Originally Posted by DODevelopment (Post 20439949)
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

i had the same issue, but it was about picture galleries.,

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.

Oracle Porn 04-06-2015 04:23 AM

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.

k0nr4d 04-06-2015 04:30 AM

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