Thank you both for your answers.
It gives me some sort of comfort that it is more of a bug and less of a user failure. The downside is, there is no way to solve it quickly.
Easy things first:
I tried +repage and -repage 880x600+0+0 and found no difference. I guess the exclamation mark appended to the offset of the geometry for crop just works fine. However, I left the repage setting in, that is I always tried both versions in my later attempts.
other things second:
I reorderd the sequence of my command to be more in line with
http://www.imagemagick.org/Usage/basics/#cmdline
Finally I tried to specify the output format via png32:
It did not help at all, but here are some notes, maybe it helps.
Should I open a bug report on this? Maybe just post this in the 'bugs' forum?
-------------------------------------------
With ImageMagick version 6, the operators will always be applied in the command line order as given by the user.
Operation Settings which control how later operators function. They set the colors, and fonts that may be used by an operator, control placement of images and text, the lookup of color from source images, control the method of processing by some of the more complex operators, etc., etc., etc..
-dither -gravity -fill -background -bordercolor -stroke -font -pointsize -strokewidth -box -affine -virtual
-pixel -interpolate
Here is the list of image settings:
-adjoin -affine -alpha -antialias -authenticate -background -bias -black-point-compensation -blue-primary -bordercolor -caption -channel -comment -compress -debug -define -delay -density -depth -direction -display -dispose -dither -encoding -endian -extract -family -fill -filter -font -format -fuzz -geometry -gravity -green-
primary -interlace -intent -interpolate -label -limit -linewidth -log -loop -mask -mattecolor -monitor -orient -page -pointsize -preview -quality -quiet -red-primary -region -render -repage -sampling-factor -scene -seed -size -stretch -stroke -strokewidth -style -texture -tile -transparent-color -treedepth -type -undercolor
-units -verbose -virtual-pixel -weight
Simple Image Processing Operators will modify all images that have already been read into memory. Each image is modified
separately to every other image. Because all image operators are performed immediately when seen on the command line, they must be given after the images for which they are to operate have been read into memory. They include operations such as...
-negate -rotate -crop -flip -flop -wave -resize -repage -set -shadow -scale -sample -swirl -draw +matte -distort -morpohology
And lots lots more...
Explicit Image Format
Images can be stored in a myriad of image formats including the better known JPEG, PNG, TIFF and others. ImageMagick must know the desired format of the image before it is written. ImageMagick leverages the filename extension to determine the format. For example, image.jpg tells ImageMagick to write the image in the JPEG format. In some cases the filename does not identify the image format. In these cases, the image is written in the format it was originally read unless an explicit image format is specified. For example, suppose we want to write our image to a filename of image in the raw red, green, and blue intensity format:
$magick> convert image.jpg rgb:image
Code: Select all
convert -type TrueColorMatte -background white big-pic_orig.png -crop 880x600+200+190\! -repage 880x600+0+0 -matte -strip png32:part-of-it.png
convert -type TrueColorMatte -background white big-pic_orig.png -crop 880x600+200+190\! +repage -matte -strip png32:part-of-it.png
I also tried other sequences of the command, it did not change.