Debug
Small Debug
Added a bit mask to set magin in TImage::edges