-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Converts Jpeg to png #218
Converts Jpeg to png #218
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Could you comment on your code?
- Avoid extra lines.
- Validate your code with PEP8 standards:
Check PEP8 Validation - (Python Enhancement Proposals) set some guidelines while writing your code.
pip install flake8 flake8 file_name.py
Thanks,
Tushar Nankani
ok, i'll do it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @AnuragGupta806!
The script works well! 👍🏻
Great thought on creating a GUI! 👏🏻
Could you disable the Convert JPEG to PNG
if no file is uploaded? Since it gives this error. Or could you give a pop up: no file is selected
?
Let me know if these changes are possible!
I added an error message box and commented the code and validated using PEP8, but one error was left, which was length of line >79, i cannot do anything about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Uh oh!
There was an error while loading. Please reload this page.
Description
This PR contains two python scripts , each having different method of changing JPEG to PNG
Fixes #215
Replace
issue_no
in the above line, with the issue related to this PR.Type of change
Choosing one or more options from the following as per the nature of your Pull request.
Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.
Update index.md
)README.md
, according to the givenREADME_TEMPLATE.