Let this question be a dire warning to she or he who would post a query without first checking every obvious cause of an apparent error
Version: ImageMagick 6.9.10-14 Q16 i686 2018-11-10
Features: Cipher DPC OpenMP
Delegates (built-in): bzlib fontconfig freetype jbig jng jpeg lcms lqr lzma pangocairo png tiff wmf x xml zlib
I followed Anthony Thyssen's example here to try and generate a set of thumbs from a bunch of jpgs from my 'phone.
The jpgs are all in subdirs named per date of capture.
The thumbs are being created in separate subdirs with identical names except of course for the extension.
Thus thumbs for ~/Phone/20180114/*.JPG will be created in ~/thumbs/20180114/
The command I used is as follows:
Code: Select all
for i in * ; do mogrify -format png -path ../thumbs/$i -thumbnail 256x348 $i/*.JPG ; done
are both created from 20180114-DSC_0277.JPG
The two thumbs are functionally identical, though they are all a few bytes different in size - literally 2-5 bytes different
Note that this isn't just these two particular files - it happens for every file in every subdir.
I am, therefore, confused.
What do I need to do (apart from rm) to generate these without dupes using mogrify?
(I realise I can do this whole task in other ways, so don't need advice on that front)