Answer the question
In order to leave comments, you need to log in
Is this conversion correct?
Faced such a problem that through Total CMD I changed file extensions and hyperlinks began to open incorrectly in Excel. Decided to quickly throw the conversion. Actually the question is, tell me, does it convert correctly? And in general, does it convert in this case? Or just change the extension, without changing the format?
from PIL import Image
Image.open(r'4898860.png').save(r'k.jpg', 'JPEG')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question