implemented alpha channel
fixed grayscale images
changed alpha padding
logging