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

Hacktoberfest: Create custom script to convert all image file uploaded to JPEG format #157

Open
17 tasks
BaloneyBoy97 opened this issue Oct 1, 2024 · 0 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@BaloneyBoy97
Copy link
Collaborator

Original Issue #157

Description
As a developer,
I want a custom script that converts all uploaded image files to JPEG format,
So that I can ensure consistency in image formats and optimize file storage and display across the application.

Tasks

  • Research appropriate libraries to handle image conversion to JPEG format.
  • Implement a script that automatically converts any uploaded image (PNG, GIF, BMP, etc.) to JPEG.
    • Ensure that the conversion process maintains reasonable image quality.
    • Ensure that image metadata is preserved when needed.
  • Integrate the script into the image upload process, ensuring that all uploads are processed before storage
  • Test the script with various image formats to confirm successful conversion to JPEG.
  • Optimize the JPEG conversion to minimize file size without sacrificing too much quality.
  • regression free
    • committed code will not break other functionalities or previous commits
  • Create a test cases for your code
    • Ensure that the tour starts correctly.
    • Ensure that users can skip or continue the tour seamlessly.
    • Ensure that the tour progresses step-by-step without issues.

Acceptance Criteria

  • The script successfully converts all image uploads to JPEG format.
  • The converted JPEG images maintain high quality and are optimized for minimal file size.
  • The image conversion process is seamlessly integrated into the existing upload workflow.
  • The conversion process does not break or interfere with the current image upload functionality.
  • Code is well commented and adheres to the project’s code style.
  • All test cases pass before merging the changes.
  • The implementation should not break any existing functionality or pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant