View Single Post
Old 09-29-2010, 12:38 AM  
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
Quote:
Originally Posted by boneless View Post
post the question and ill see if i can help
One of the things I've been trying to figure out is how to make ST output thumbs with a 1px black border. I can't seem to find a simple on/off setting for this anywhere in the admin. By default thumbs are created with no border. I'm using Imagemagick as my image processor.

If you go into Settings>Groups and then open up advanced edit properties on any group, I do see that you can manipulate the Imagemagick command line. Default command is:
Code:
-filter Blackman -modulate 110,102,100 -sharpen 1x1 -enhance
To create a 1px border, and still maintain the output size for thumbs you would have to create the border on the inside area of the thumb (otherwise the image would be 1px bigger on each edge). The stroke command would work, and just in testing I've found that you can use mogrify as well:
Code:
mogrify -shave 1x1 -bordercolor black -border 1 -format jpg *.jpg
This mogrify command will process all *.jpg files in a given directory. Not entirely sure how to incorporate it into the default Imagemagick command for ST. Or for that matter, if I even have to... because this may be a setting somewhere in the admin that I'm just not seeing.
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote