From 7dca0c23595b7342fda8de625b5831ee8283badc Mon Sep 17 00:00:00 2001 From: lune* Date: Tue, 9 Aug 2016 17:42:08 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=9D=E3=81=86=E3=81=98=E3=82=83=E3=81=AA?= =?UTF-8?q?=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/otaku_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/otaku_generator.rb b/lib/otaku_generator.rb index a2ba342..b3637d9 100644 --- a/lib/otaku_generator.rb +++ b/lib/otaku_generator.rb @@ -38,7 +38,7 @@ def get_new_otaku(left_eye_color:, right_eye_color:, hair_color:, skin_color:, s new_otaku = new_otaku.resample_bilinear(size, size) - back_ground_pixels = get_close_color_pixels(new_otaku, 0, 0, range:0) + back_ground_pixels = get_close_color_pixels(new_otaku, 0, 0, range:1) new_otaku = transparent(new_otaku, back_ground_pixels) new_otaku