By that definition, all formats are lossy, because any preprocessing could be lossy, and the word loses all meaning … which is why we don't use that definition.
If you reencode a jpeg to a png, you used a lossless format but your image is very lossy.