Discover git install
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
image-transcoder.exe
|
||||
main.log
|
||||
*.exe
|
||||
*.log
|
||||
|
4
main.go
4
main.go
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"image-transcoder/codec"
|
||||
"itrans/codec"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
@@ -37,7 +37,7 @@ func init() {
|
||||
}
|
||||
|
||||
func main() {
|
||||
quality := flag.Int("quality", 80, "Quality of the image")
|
||||
quality := flag.Int("quality", 100, "Quality of the image")
|
||||
to := flag.String("to", ".jpg", "Extension to transcode to")
|
||||
nosafe := flag.Bool("nosafe", false, "Prevents backup of the original before encoding")
|
||||
rm := flag.Bool("rm", false, "Removes the original after transcoding")
|
||||
|
Reference in New Issue
Block a user