把黑色改变为别的颜色 因为黑色的RGB是(0,0,0),所以要反色下才能改 如果要改白色就不用反了 b = Bitmap.new "E:/zh99998/Documents/Tencent Files/276169442/FileRecv/1.png" b.width.times do |x| b.height.times do |y| color = b.get_pixel(x, y) ...
仅自己备用+纪念。。需要的拿,看不懂不要问 style = " # White space style.ruby.0=fore:#128,128,128 # Error style.ruby.1=back:#255,0,0 # Comment line style.ruby.2=fore:#00,127,00,$(font.comment) # POD style.ruby.3=fore:#00,64,00,back:#192,255,192,$(font.monospace),eolfilled # Number styl ...