Here is a modified example of what I want to do:
overlay an image with a vertically compresssed altered copy and a horizontal compressed altered copy of itself
-->
first attempt:
Code: Select all
convert ROSE.JPG
( +clone -scale 10x100% +dither -colors 2 -equalize )
( -clone 0 -scale 100x10% +dither -colors 2 -equalize )
-gravity center -compose copy -composite -composite ROSECROSS.JPG
(Using -flatten instead of -composite works, but that ignores the gravity setting, and would not work if I wanted some other composition method like blend or multiply)
Code: Select all
convert ROSE.JPG
( +clone -scale 10x100% +dither -colors 2 -equalize )
-gravity center -compose copy -composite
( -clone 0 -scale 100x10% +dither -colors 2 -equalize )
-composite ROSECROSS.JPG
Code: Select all
convert ROSE.JPG
( +clone -scale 10x100% +dither -colors 2 -equalize )
-gravity center -compose copy -composite
( ROSE.JPG -scale 100x10% +dither -colors 2 -equalize )
-composite ROSECROSS.JPG
Code: Select all
convert: Cannot quantize to fewer than 8 colors `ROSE.jpg' @ jpeg.c/EmitMessage/231.
convert: missing an image filename `ROSECROSS.JPG' @ convert.c/ConvertImageCommand/2772.