The Export function with an Image object as designated TIFF file is not working correctly.
Export[outdir<>"lila"<>StringTake["00"<>ToString[n],-3]<>".jpg",imglila,"JPEG] (*< this one is Working correctly*)
Export[outdir<>"lila"<>StringTake["00"<>ToString[n],-3]<>.tif",imglila,TIFF] (*< this one is working incorrectly*)
If the image is from an n x n matrix then the TIFF version also looks OK. If it is from an n x m matrix, then it is cooked.
Does anyone else have this problem?