fix path with space issue and include information to use old imagemagick version

This commit is contained in:
interfisch 2023-02-17 13:56:12 +01:00
parent f77840b616
commit 1b25cb9517
10 changed files with 3 additions and 77 deletions

View File

@ -1,3 +1,5 @@
Tutorial: [fisch.suroot.com](http://fisch.suroot.com/index.php?nav=scanning "fisch.suroot.com") Tutorial: [fisch.suroot.com](http://fisch.suroot.com/index.php?nav=scanning "fisch.suroot.com")
[ImageMagick](https://www.imagemagick.org/script/download.php) (static) needs to be installed. [ImageMagick](https://www.imagemagick.org/script/download.php) (static) needs to be installed.
On current ImageMagick 7.1 -fx does not work the same as before. On Windows use https://download.imagemagick.org/archive/binaries/ImageMagick-6.9.12-77-portable-Q16-x64.zip

View File

@ -1,2 +0,0 @@
)
pause

View File

@ -1,5 +0,0 @@
done
echo "All done. Your converted files can be found here: $OUTDIR , exiting."
read -p "Press Enter" TMP
exit 0

View File

@ -1,8 +0,0 @@
@echo off
setlocal enabledelayedexpansion
mkdir tmp
mkdir out
for %%f in (*.tif) do (
echo resize: %%f
magick convert %%f -resize 50%% -filter Gaussian ./tmp/_%%f
echo invert

View File

@ -1,23 +0,0 @@
#!/bin/bash
# create tempdir
TMPDIR=$(mktemp -d)
# some lines of custom config for fisch:
###############
#CURDIR=$(pwd)
#TMPDIR=$(mktemp -d -p $CURDIR/.tmp)
#mkdir $TMPDIR
###############
# set some vars
OUTDIR="$TMPDIR/out"
# make some dirs
mkdir $OUTDIR > /dev/null
for F in $(ls -A1 | grep ".tif$"); do
echo "resizing $F ..."
convert $F -resize 50% -filter Gaussian $TMPDIR/_$F
echo "inverting $F ..."

View File

@ -1,2 +0,0 @@
)
pause

View File

@ -1,5 +0,0 @@
done
echo "All done. Your converted files can be found here: $OUTDIR , exiting."
read -p "Press Enter" TMP
exit 0

View File

@ -1,8 +0,0 @@
@echo off
setlocal enabledelayedexpansion
mkdir tmp
mkdir out
for %%f in (*.tif) do (
echo resize: %%f
magick convert %%f -resize 50%% -filter Gaussian ./tmp/_%%f
echo invert

View File

@ -1,23 +0,0 @@
#!/bin/bash
# create tempdir
TMPDIR=$(mktemp -d)
# some lines of custom config for fisch:
###############
#CURDIR=$(pwd)
#TMPDIR=$(mktemp -d -p $CURDIR/.tmp)
#mkdir $TMPDIR
###############
# set some vars
OUTDIR="$TMPDIR/out"
# make some dirs
mkdir $OUTDIR > /dev/null
for F in $(ls -A1 | grep ".tif$"); do
echo "resizing $F ..."
convert $F -resize 50% -filter Gaussian $TMPDIR/_$F
echo "inverting $F ..."

Binary file not shown.