--- rxvt-unicode/src/rxvtimg.C 2012/06/04 15:53:12 1.14 +++ rxvt-unicode/src/rxvtimg.C 2012/06/04 16:12:55 1.16 @@ -270,6 +270,7 @@ { //pix_colors[Color_bg].get (c); //TODO + c.r = 0xffff; c.g = 0xc0c0; c.b = 0xcbcb;//D c.r >>= 8; c.g >>= 8; c.b >>= 8; @@ -360,8 +361,8 @@ rxvt_img::scale (int new_width, int new_height) { double matrix[9] = { - new_width / (double)w, 0, 0, - 0, new_height / (double)h, 0, + w / (double)new_width, 0, 0, + 0, h / (double)new_height, 0, 0, 0, 1 };