Image data is just encapsulated: you just take a jpeg file and write it to bytes and wrap it a little.
- medicine chooses lossless formats
- there are security concerns with decoders and operating systems
- once you build a medical device, the future of your company depends on being able to expensively patch it