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
Hello
I like what you have done. Thank you.
fileio.go LINE 77 if strings.HasSuffix(v, ".png") || strings.HasSuffix(v, ".jpg") || strings.HasSuffix(v, ".jpeg") ||
**** I have it working by checking lowercase suffix as below
if strings.HasSuffix(strings.ToLower(v), ".png") || strings.HasSuffix(strings.ToLower(v), ".jpg") || strings.HasSuffix(strings.ToLower(v), ".jpeg") || strings.HasSuffix(strings.ToLower(v), ".gif") {
**** I have it working by adding an import and changing one line of code
fileio.go import "github.com/disintegration/imageorient" and changed line 67 to a.img.OriginalImage, _, err = imageorient.Decode(file)
The text was updated successfully, but these errors were encountered:
90cbdbb
No branches or pull requests
Hello
I like what you have done. Thank you.
fileio.go LINE 77
if strings.HasSuffix(v, ".png") || strings.HasSuffix(v, ".jpg") || strings.HasSuffix(v, ".jpeg") ||
**** I have it working by checking lowercase suffix as below
if strings.HasSuffix(strings.ToLower(v), ".png") || strings.HasSuffix(strings.ToLower(v), ".jpg") || strings.HasSuffix(strings.ToLower(v), ".jpeg") || strings.HasSuffix(strings.ToLower(v), ".gif") {
**** I have it working by adding an import and changing one line of code
fileio.go
import "github.com/disintegration/imageorient"
and changed line 67 to
a.img.OriginalImage, _, err = imageorient.Decode(file)
The text was updated successfully, but these errors were encountered: