|
|
@ -51,9 +51,6 @@ func glitchImage(inputFile string, outputFile string, shitSize int64, iterations |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func copyImage(inputFile string, outputFile string) error { |
|
|
|
func copyImage(inputFile string, outputFile string) error { |
|
|
|
// Ensure the output directory exists
|
|
|
|
|
|
|
|
makeOutputDir() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Prepend the "output" directory to the output file
|
|
|
|
// Prepend the "output" directory to the output file
|
|
|
|
outputFilePath := filepath.Join("output", outputFile) |
|
|
|
outputFilePath := filepath.Join("output", outputFile) |
|
|
|
|
|
|
|
|
|
|
|