aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2021-03-06 00:45:43 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2021-03-06 01:15:41 +0300
commitbc75faea27b8e72b549b9d84e9a48acf41a049ae (patch)
tree095ab054da39d695a5d40a4f990841e85d87eec9
parent78c1b9a525f9bb4047cb32baba1fa2ab8bf9ba43 (diff)
downloadanalogcolor-bc75faea27b8e72b549b9d84e9a48acf41a049ae.tar.gz
README added
-rw-r--r--BUILD.md9
-rw-r--r--README.md26
2 files changed, 35 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
new file mode 100644
index 0000000..acce083
--- /dev/null
+++ b/BUILD.md
@@ -0,0 +1,9 @@
+# Analogcolor, how to build
+
+Linux, BSD:
+
+ 1. Install git, cmake, gcc (clang).
+ 2. Clone the repository: git clone http://code.mastervirt.ru/analogcolor && cd analogcolor
+ 3. Get submodules: git submodule update --init --recursive --remote
+ 4. Create directory to build: mkdir build && cd build
+ 5. Build it: cmake ../src/ && make
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..d8201f5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# Analogcolor
+
+Let`s make some magic.
+
+ 1. [Build](BUILD.md) this app (or just trust me).
+ 2. Find some color picture:
+
+ ![analogcolor original picture](https://code.mastervirt.ru/st/analogcolor-img/IMG_8555_800x600.JPG)
+
+ 3. Run the app
+
+ ./analogcolor e ~/analogcolor-img/IMG_8555_800x600.JPG ~/analogcolor-img/IMG_8555_800x600-bw.bmp
+
+ 4. See the result. Just grayscale image
+
+ ![analogcolor grayscale picture](https://code.mastervirt.ru/st/analogcolor-img/IMG_8555_800x600-bw.bmp.jpg)
+
+ 5. Run the app using grayscale image as input
+
+ ./analogcolor d ~/analogcolor-img/IMG_8555_800x600-bw.bmp ~/analogcolor-img/IMG_8555_800x600-decoded.bmp
+
+ 6. Let`s see the result
+
+ ![analogcolor restored picture](https://code.mastervirt.ru/st/analogcolor-img/IMG_8555_800x600-decoded.bmp.jpg)
+
+