Take camera snapshot as PNG

Is it possible to take a camera snapshot and save it as a PNG file (as opposed to jgp) ?
Thanks

Yes

service: camera.snapshot
data:
  filename: /media/camera/parking_foto.png
target:
  entity_id: camera.parking

ScreenShot_20230802171115

yes, - I tried that already - you can save it as a PNG file but it still is a JPG

When you save a camera image, I believe it is saving the native image provided by the camera.