Hi Andreas, Thanks for the patch. I can reproduce this bug.
I also write this test to test if separate runs ok. Will upload it soon. Yours, Paul
#/bin/sh
TEMP=${AUTOPKGTEST_TMP:-${TMPDIR:-$(mktemp -d)}}
TDIR=$(mktemp -d $TEMP/test-separate-1-XXXXXX)
convert /usr/share/wallpapers/EveningGlow/contents/images/2560x1440.jpg -resize
'640x480!' "$TDIR"/origin.jpg
sleep 1
echo "Run separate+..."
gimp-console -i -b "(let* ((i1 (car (gimp-file-load 1 \"$TDIR/origin.jpg\"
\"$TDIR/origin.jpg\"))) (layer1 (car (gimp-image-get-active-layer i1)))
(cmykimg (car (plug-in-separate-full 1 i1 layer1
\"/usr/share/color/icc/colord/SMPTE-C-RGB.icc\" FALSE
\"/usr/share/color/icc/ghostscript/gray_to_k.icc\" 1 FALSE FALSE FALSE
FALSE)))) (gimp-xcf-save 1 cmykimg (car (gimp-image-get-active-drawable
cmykimg)) \"$TDIR/output.xcf\" \"$TDIR/output.xcf\") (gimp-quit 1))"
sleep 2
if [ ! -e "$TDIR"/output.xcf ]; then
echo "No output.xcf"
exit 404
fi
OpenPGP_0x44173FA13D058888.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature

