Skip to content
New issue

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

Image creation #59

Closed
wants to merge 15 commits into from
Closed

Image creation #59

wants to merge 15 commits into from

Conversation

zyc-sudo
Copy link
Contributor

Please take a look.

This one actually is depends on the previous PR of the

I decided to seperated it to keep this as features of the image operation

@kortschak
Copy link
Member

Can we leave this until its dependency is done?

@zyc-sudo
Copy link
Contributor Author

zyc-sudo commented Sep 19, 2019 via email

defer os.Remove("img.jpg")
defer imgfile.Close()

jpeg.Encode(imgfile, imgRead, nil)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error return value of jpeg.Encode is not checked (from errcheck)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just added and pushed

@kortschak
Copy link
Member

Please wait until the dependency is accepted and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants