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
Some servers serve JPEG images with content type image/jpg instead of image/jpeg (the e).
image/jpg
image/jpeg
e
The transcoder should catch these as well (compy.go):
if *jpeg != 0 { tcjpeg := tc.NewJpeg(*jpeg) p.AddTranscoder("image/jpeg", tcjpeg) p.AddTranscoder("image/jpg", tcjpeg) }
@barnacs do you agree and if so do you want a pull-request for this change?
The text was updated successfully, but these errors were encountered:
This seems fine. Could you share an example server and submit a pull request including a unit test?
Sorry, something went wrong.
No branches or pull requests
Some servers serve JPEG images with content type
image/jpg
instead ofimage/jpeg
(thee
).The transcoder should catch these as well (compy.go):
@barnacs do you agree and if so do you want a pull-request for this change?
The text was updated successfully, but these errors were encountered: