I have used python to upload an image from my desktop to imgur in the jpg format but it converts the image to jpeg format and this is no good for the use I am looking to use this for. I was wondering if anyone knows how to keep it from changing. here is my code with my keys taken out.
from imgurpython import ImgurClient
def uploadimage():
client_id = 'hi'
client_secret = 'hi'
client = ImgurClient(client_id, client_secret)
uploadedImage = client.upload_from_path(r"C:\Users\will_\Documents\PSA Card Project Files\Price Checker\IMG_1632.jpg", config=None, anon=True)
link = "{0}".format(uploadedImage['link'])
print(link)
uploadimage()
Edit: The extension is the thing that changes from .jpg to .jpeg when I go view the uploaded image. This is a problem because the website that I need this link for, requires that the image be jpg or png or another format on their list but jpeg is not one of those formats on that list.