diff --git a/index.py b/index.py index cd87d9c..06762c2 100755 --- a/index.py +++ b/index.py @@ -14,7 +14,7 @@ # go_nord.set_default_nord_palette() image = go_nord.open_image("images/bn.jpg") -go_nord.convert_image(image, save_path='images/test.avg.jpg') +# go_nord.convert_image(image, save_path='images/test.avg.jpg') # E.g. Resized img no Avg algorithm and less colors go_nord.disable_avg_algorithm() @@ -22,6 +22,9 @@ go_nord.add_file_to_palette(NordPaletteFile.POLAR_NIGHT) go_nord.add_file_to_palette(NordPaletteFile.SNOW_STORM) +output_path = go_nord.convert_video('/Users/thejoin/Downloads/SampleVideo_720x480.mp4', 'custom_palette', save_path='/tmp') +print(output_path) + image = go_nord.open_image("images/test.jpg") resized_img = go_nord.resize_image(image) go_nord.convert_image(resized_img, save_path='images/test.resized.jpg') diff --git a/setup.py b/setup.py index 589fb3d..d76bf7d 100755 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="image-go-nord", - version="0.1.6", + version="0.1.7", description="A tool for converting RGB image to Nordtheme palette", long_description=README, long_description_content_type="text/markdown",