Updated Scoop directions
The PR to main has been merged https://github.com/ScoopInstaller/Main/pull/4087
This commit is contained in:
parent
17a7ef5c49
commit
b229f94116
19
README.md
19
README.md
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[](https://github.com/TheZoraiz/ascii-image-converter/releases/latest)
|
||||
[](https://github.com/TheZoraiz/ascii-image-converter/blob/master/LICENSE.txt)
|
||||
[](https://golang.org/)
|
||||
[](https://golang.org/)
|
||||

|
||||
[](https://snapcraft.io/ascii-image-converter)
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ Input formats currently supported:
|
|||
|
||||
## Installation
|
||||
|
||||
### Debian or Ubuntu-based Distros
|
||||
### Debian or Ubuntu-based Distros
|
||||
|
||||
Execute the following commands in order:
|
||||
|
||||
|
|
@ -97,18 +97,15 @@ AUR helper:
|
|||
|
||||
### Scoop
|
||||
|
||||
The scoop bucket is maintained by [brian6932](https://github.com/brian6932)
|
||||
The scoop manifest is maintained by [brian6932](https://github.com/brian6932)
|
||||
|
||||
```
|
||||
scoop bucket add dank-scoop https://github.com/brian6932/dank-scoop/
|
||||
```
|
||||
```
|
||||
scoop install ascii-image-converter
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
### Snap
|
||||
### Snap
|
||||
|
||||
|
||||
> **Note:** The snap will not have access to hidden files and files outside the $HOME directory. This includes write access for saving ascii art as well.
|
||||
|
|
@ -288,7 +285,7 @@ ascii-image-converter [image paths/urls] -H 60
|
|||
Pass a string of your own ascii characters to map against. Passed characters must start from darkest character and end with lightest. There is no limit to number of characters.
|
||||
|
||||
Empty spaces can be passed if string is passed inside quotation marks. You can use both single or double quote for quotation marks. For repeating quotation mark inside string, append it with \ (such as \\").
|
||||
|
||||
|
||||
```
|
||||
ascii-image-converter [image paths/urls] -m "<string-of-characters>"
|
||||
# Or
|
||||
|
|
@ -477,15 +474,15 @@ func main() {
|
|||
// There are more flags, but these are the ones shown for demonstration
|
||||
flags.Dimensions = []int{50, 25}
|
||||
flags.Colored = true
|
||||
flags.SaveTxtPath = "."
|
||||
flags.SaveTxtPath = "."
|
||||
flags.SaveImagePath = "."
|
||||
flags.CustomMap = " .-=+#@"
|
||||
flags.FontFilePath = "./RobotoMono-Regular.ttf" // If file is in current directory
|
||||
flags.SaveBackgroundColor = [4]int{50, 50, 50, 100}
|
||||
|
||||
|
||||
// Note: For environments where a terminal isn't available (such as web servers), you MUST
|
||||
// specify atleast one of flags.Width, flags.Height or flags.Dimensions
|
||||
|
||||
|
||||
// Conversion for an image
|
||||
asciiArt, err := aic_package.Convert(filePath, flags)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue