-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
# SDFMaker | ||
A tool for converting high resolution 2D images with transparency to low resolution images with signed distance fields. | ||
# SDF Maker | ||
A tool for converting high resolution images or textures with transparency to low resolution images with signed distance fields. | ||
[Runs in a browser!](https://jobtalle.com/SDFMaker) | ||
|
||
[Runs in a browser!](https://jobtalle.com/SDFMaker) | ||
 | ||
|
||
## How to use it? | ||
|
||
1. Drag an image file to the drop target on the left. This can be a .PNG image with transparency or a .SVG vector image. | ||
2. Choose the output resolution. For good results, the output resolution should be several times smaller than the input resolution. If the input image is a .SVG image, the tool converts it to a 4k input image to ensure the input resolution is high enough. | ||
3. Click the "generate" button to produce the output image. The output image is a .PNG image that can be downloaded. | ||
|
||
## Settings | ||
|
||
|Setting|Description| | ||
|---|---| | ||
|Radius|The radius of the signed distance field. This can be 1 in most cases, but it can be increased if the SDF will be used for things like outline rendering.| | ||
|Threshold|The input image opacity threshold that is considered opaque. Any input pixel with alpha over this threshold is considered opaque.| |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.