var px:pointer;    for y := 0 to height - 1 do begin
        px := wbitmap.scanline[y];
    stream.write(px^, {这里怎样取到px的大小});
    end;