avatar.rc
author Myhailo Danylenko <isbear@ukrpost.net>
Fri, 06 Nov 2009 12:14:13 +0200
changeset 3 c920fcf835c7
parent 0 29423ceb6adf
child 23 2b7060ce1152
permissions -rw-r--r--
Added background for transparent images


# All options can be changed in runtime, so, feel free to experiment

# Directory, where avatars will be saved. Note, that without saving
# avatar current implementation cannot show it. Avatars are saved by
# their id (sha1sum of png data), and symlinked by jids. I.e.
# 12345...679.png contains png data
# foo@bar.org is symlink to 12345...679.png
set avatar_directory = ~/.mcabber/avatars

# Set this to your terminal's font character dimensions in pixels.
# This will allow to retain real png image proportions.
set avatar_font_height = 16
set avatar_font_width  = 8

# Maximum width and height in characters. Can be omitted, then these
# will be autodetected based on COLUMNS and LINES variables (they
# must exist in mcabber's environment, i.e. you should export them
# or you will be limited to 80x25). 
set avatar_max_width  = 110
set avatar_max_height = 40

# Background color to use for transparent images.
# In fact in range 0..65535, but looks like actually matter only
# first 9 bits (what does 9th bit I do not know, but it definitely
# changes resulting image a bit)
set avatar_background = 255

load pep
load avatar