Why are files being saved differently as JPG and PNG?

Translated from Korean

---
When I save images, they get saved as two different extensions.

What is the criteria for that, and why does it happen?

Comments

For images where prompts are generated directly on this site and uploaded to T2I, the image is a Png, and for images uploaded via I2I that were created locally rather than on the web, the image is a jpg.

May 28, 2023, 8:03 a.m.
I always generate it as text, but two things were saved randomly..

May 28, 2023, 11:08 a.m.