Skip to content

Instantly share code, notes, and snippets.

Avatar

KyoheiOkawa k-okawa

  • 10antz-inc
  • Tokyo, Japan
View GitHub Profile
@k-okawa
k-okawa / LinkXmlGenerator.cs
Last active Nov 5, 2021
LinkXmlGenerator.cs
View LinkXmlGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Xml;
using UnityEditor;
using UnityEngine;
public class LinkXmlGenerator {
@k-okawa
k-okawa / cvconvertcolor.py
Last active Nov 13, 2019
画像を赤くする処理(OpenCV version)
View cvconvertcolor.py
from PIL import Image
import sys
args = sys.argv
argc = len(args)
files = args[1:argc]
def convert_img(file):
img = Image.open(file)
@k-okawa
k-okawa / convertcolor.py
Last active Jul 26, 2019
画像を赤くする処理(Pillow version)
View convertcolor.py
from PIL import Image
import sys
args = sys.argv
argc = len(args)
files = args[1:argc]
def convert_img(file):
img = Image.open(file)