diff --git a/README.md b/README.md index a6a9fd7..df32539 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,12 @@ You can read more on pyxelate here: https://github.com/sedthh/pyxelate ## Setup Before you attempt to run the program in this repo first you need to: - Have Python installed (I was only able to make pyxelate work with Python 3.8) -- Install pyxelate's dependencies (Please mind the versions. More info at https://github.com/sedthh/pyxelate) - - sklearn 0.24.1 - - skimage 0.18.1 - - numba 0.53.1 +- Install pyxelate and its dependencies (Please mind the versions. More info at https://github.com/sedthh/pyxelate) - To build this project you need to have its dependecies installed with haxelib: - haxeui-core: [git] - haxeui-openfl: [git] - openfl: [git] - -Soon I'll make Windows and OSX binaries available. + +## Screenshot + +![screenshot](ss.png) \ No newline at end of file diff --git a/Source/Root.hx b/Source/Root.hx index 14a9013..5282b0d 100644 --- a/Source/Root.hx +++ b/Source/Root.hx @@ -56,14 +56,14 @@ class Root extends VBox function openSaveFileDialog(event: MouseEvent) { var dialog = new FileDialog(); - dialog.browse(FileDialogType.SAVE); + dialog.browse(FileDialogType.SAVE, "png", null, "Save input image"); dialog.onSelect.add(path -> _menuDelegate.onSave(path)); } function openLoadFileDialog(event: MouseEvent) { var dialog = new FileDialog(); - dialog.browse(FileDialogType.OPEN); + dialog.browse(FileDialogType.OPEN, "*.jpg;*.gif;*.png", null, "Load input image"); dialog.onSelect.add(path -> _menuDelegate.onLoad(path)); } diff --git a/ss.png b/ss.png new file mode 100644 index 0000000..af10f45 Binary files /dev/null and b/ss.png differ