質問編集履歴

1

追記。

2016/01/12 06:08

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -15,6 +15,20 @@
15
15
  for (int width = 0; width < bitmap.Width; width++)
16
16
 
17
17
  line += colorRGB(bitmap.GetPixel(width, 10))+ "\r\n";
18
+
19
+
20
+
21
+
22
+
23
+ private string colorRGB(Color color) {
24
+
25
+ string[] cells = color.ToString().Replace("Color", "").Replace("[", "").Replace("]", "").Split(',');
26
+
27
+ return cells[1].Trim() + "," + cells[2].Trim() + "," + cells[3].Trim()+ "\t";
28
+
29
+ }
30
+
31
+
18
32
 
19
33
 
20
34