We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I seem to be having trouble figuring out how to get an image out as a jpg.
Currently I have a PhotonImage that I created by reading in a tiff image from a buffer, and I can call
image.get_base64()
which gives me...
data:image/png;base64,iVBORw0KGg...
Apologies if I'm missing something obvious - but how might I get a data:image/jpeg;base64,NiCeJpEGDAtaHere...?
data:image/jpeg;base64,NiCeJpEGDAtaHere...
The text was updated successfully, but these errors were encountered:
#125
Sorry, something went wrong.
No branches or pull requests
I seem to be having trouble figuring out how to get an image out as a jpg.
Currently I have a PhotonImage that I created by reading in a tiff image from a buffer, and I can call
image.get_base64()
which gives me...
data:image/png;base64,iVBORw0KGg...
Apologies if I'm missing something obvious - but how might I get a
data:image/jpeg;base64,NiCeJpEGDAtaHere...
?The text was updated successfully, but these errors were encountered: