What version IM, on what platform? I assume IM v6 on Windows. You want to loop through all the PNG files, or all the TIFF files, but not both. Instead of "*", I suggest "*.png". Within the convert command, you use %g which is the drive, directory, name and extension. I suggest "%~dpng.png" and "%~dp...

It depends on your computer and operating system. On my computer (HP laptop, running Windows 8.1) when I run a series of commands in one window, each command won't start until the previous command has fully written and closed any files. But I might run a series of commands in one window, and another...

I suspect a problem in the font, with strokes. I suggest you find the minimum command that shows the problem. For example, remove the first annotate and blur. Try an annotate with fill but no stroke, then with stroke but no fill. If this shows the font has a stroke problem, then the cure is to use a...

For the use of "null:", see http://www.imagemagick.org/script/command-line-options.php#layers , method "composite". When you have a difference image that is black where there is no difference, you can process that image, eg "-auto-level", or "-fill white +opaque black" to turn all non-black into whi...

If One_t.bmp contains certain colours. If you want to reduce One.jpg to exactly those colours, and no more, then use "-remap" like this: magick One.jpg +dither -remap One_t.bmp out.png Those colours are a poor selection to represent the image. IM options "-colors" and "posterize" will not select tho...

"-highlight-color" is available when you are using "magick compare". When you are not using "magick compare", there is no concept of a highlight color, and the option is not available. Fred showed you how to compare two PDF documents with the same number of pages, using a "null:" and "-compose diffe...

Get a larger device. This would be the disk drive. At 8 bytes per pixel, your image needs 5 GB of memory before adding the border. If you don't have enough memory, IM will use disk, but it seems you don't have enough space on that.

For the past few years, when IM creates an images, it encodes the image as non-linear sRGB. You then convert your image to linear RGB with "-colorspace RGB". This converts the very low value 1/255 to become 0/255.

https://imgbb.com/Bn1sb2 gives "That page doesn't exist", so I can't examine your output from MS Paint. For v7, I suggest you use "magick", not "convert". magick text-origin.png +dither -colors 16 -type palette BMP3:t.bmp This gives a file of 48118 bytes, with 16 colours in a palette. Is that what y...

What version of IM? On what platform? Please link to your input image. Remove the space after "+" in "+ dither". I'm not sure what result you want, but this gives an image with no more than 16 colours, using a palette with 4-bit index. However, each palette entry has 8 bits per channel per pixel. co...