fix path with space issue and include information to use old imagemagick version
This commit is contained in:
parent
f77840b616
commit
1b25cb9517
|
@ -1,3 +1,5 @@
|
|||
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
|
|
@ -1,2 +0,0 @@
|
|||
)
|
||||
pause
|
|
@ -1,5 +0,0 @@
|
|||
done
|
||||
|
||||
echo "All done. Your converted files can be found here: $OUTDIR , exiting."
|
||||
read -p "Press Enter" TMP
|
||||
exit 0
|
|
@ -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
|
|
@ -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 ..."
|
|
@ -1,2 +0,0 @@
|
|||
)
|
||||
pause
|
|
@ -1,5 +0,0 @@
|
|||
done
|
||||
|
||||
echo "All done. Your converted files can be found here: $OUTDIR , exiting."
|
||||
read -p "Press Enter" TMP
|
||||
exit 0
|
|
@ -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
|
|
@ -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 ..."
|
BIN
scaninverter.jar
BIN
scaninverter.jar
Binary file not shown.
Loading…
Reference in New Issue