Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

How to convert PNG to JPEG losslessly?

I've converted PNG to JPEG with both java and python PIL. Python code : from PIL import Image img = Image.open('input.png') img.save('output.jpg', 'JPEG', quality=100) For converting the Java code ...
Neo Reeves's user avatar