Comparing ECB, CBC, and CTR modes of operation
The famous "ECB Penguin" demonstrates why ECB mode is dangerous for images
Notice how ECB preserves the image patterns because identical blocks produce identical ciphertext. CBC and CTR produce random-looking output that hides all patterns. This is why ECB should never be used for encrypting data with patterns or structure.