umuth commited on
Commit
ab1eb68
·
verified ·
1 Parent(s): fd2caf1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -64
README.md CHANGED
@@ -1,64 +1,35 @@
1
- # SVG Maker
2
-
3
- This application converts raster images to SVG format and allows for basic styling of the resulting SVGs.
4
-
5
- ## Installation and Setup
6
-
7
- 1. Navigate to the SVGmaker directory:
8
- ```bash
9
- cd flux_icon_generator/SVGmaker
10
- ```
11
-
12
- 2. Create and activate a virtual environment:
13
- ```bash
14
- python -m venv venv
15
- venv\Scripts\activate # On Windows
16
- source venv/bin/activate # On macOS/Linux
17
- ```
18
-
19
- 3. Install the required Python packages:
20
- ```bash
21
- pip install -r requirements.txt
22
- ```
23
-
24
- 4. Install Node.js if not already installed (https://nodejs.org/)
25
-
26
- 5. Install potrace globally using npm:
27
- ```bash
28
- npm install -g potrace
29
- ```
30
-
31
- 6. Install SVGO for SVG optimization:
32
- ```bash
33
- npm install svgo
34
- ```
35
-
36
- ## Usage
37
-
38
- 1. Run the application:
39
- ```bash
40
- python app.py
41
- ```
42
-
43
- 2. Upload one or more image files.
44
- 3. Adjust the stroke width, fill color, stroke color, and opacity as desired.
45
- 4. Set the desired output size.
46
- 5. Specify the output directory where you want the SVG files to be saved.
47
- 6. Click "Vectorize" to convert the images to SVG format.
48
- 7. The SVG files will be saved in the specified output directory, and you can also download them directly from the interface.
49
-
50
- ## Troubleshooting
51
-
52
- If you encounter any issues:
53
- 1. Ensure Node.js and potrace are correctly installed.
54
- 2. Check that all Python dependencies are installed.
55
- 3. Make sure you're running the app from the correct directory.
56
- 4. Check the `svgmaker.log` file for error messages and debugging information.
57
-
58
- ## Log File
59
-
60
- The application generates a log file (`svgmaker.log`) in the project directory. This file contains important information about the app's operation, including any errors that occur. If you encounter issues, please check this log file for more details.
61
-
62
- ## License
63
-
64
- [Add your license information here]
 
1
+ # Iconator
2
+
3
+ This application converts raster images to SVG format, allows for basic styling of the resulting SVGs, and can create Icon sheets using single SVG Icons.
4
+
5
+ ## Installation and Setup
6
+ 1. Clone the repository
7
+ 2. Run "install.bat" file
8
+ It will create a virtual environment and install dependencies.
9
+ 3. After the installation, run the "start-app.bat" file
10
+
11
+
12
+ ## Usage
13
+
14
+ SVG Maker:
15
+ 1. Run the application
16
+ 2. Upload one or more image files.
17
+ 3. Adjust the stroke width, fill color, stroke color, and opacity as desired.
18
+ 4. Set the desired output size.
19
+ 5. Specify the output directory where you want the SVG files to be saved.
20
+ 6. Click "Vectorize" to convert the images to SVG format.
21
+ 7. The SVG files will be saved in the specified output directory, and you can also download them directly from the interface.
22
+
23
+ Icon Sheet:
24
+ 1. Upload SVG icons.
25
+ 2. Select the number of columns, padding, background color, and sheet width.
26
+ 3. Specify if you want a transparent background.
27
+ 4. Click "Generate Icon Sheet".
28
+
29
+ ## Log File
30
+
31
+ The application generates a log file (`svgmaker.log`) in the project directory. This file contains important information about the app's operation, including any errors that occur. If you encounter issues, please check this log file for more details.
32
+
33
+ ## License
34
+
35
+ Apache-2.0 license