Fabric
Fabric copied to clipboard
[Question]: Duplicate Large Logo GIF Files in Repository
What is your question?
Description
The project currently contains two identical GIF files that are over 40 MB each and are in very high resolution. These files are used in different locations:
installer/client/gui/static/images/fabric-logo-gif.gif- Displayed as a 40x40 image ininstaller/client/gui/index.html.images/fabric-logo-gif.gif- Displayed as a 400x400 image inREADME.md.
Problem
Having these large, duplicate GIF files in the repository leads to several issues:
- Increased repository size: Each file is over 40 MB, making the repository unnecessarily large.
- Redundancy: The same file is stored in two different locations.
- Performance: Large files can slow down cloning and pulling from the repository.
Suggested Solutions
-
File Optimization:
- Convert to AVIF: This format offers better compression (Only available on macOS 13 Ventura or later).
- Compress GIF: Reduce the size of the GIF files while maintaining quality.
- Convert to MP4: For the use case in
README.md, consider using an MP4 video.
-
Image Size Reduction:
- Ensure the images are resized to the actual display dimensions (400x400 and 40x40) before being added to the repository.
-
Asset Hosting:
- Host these assets externally, such as on GitHub Pages, to avoid increasing the repository size.
Action Items
- Evaluate and implement the best compression/conversion method.
- Remove duplicate files and reference the optimized versions in both locations.
- Consider hosting large assets externally and linking to them from the repository.
Impact
Addressing these issues will:
- Reduce the repository size, making it faster to clone and pull.
- Eliminate redundancy, making the repository cleaner.
- Improve performance for contributors and users.
I apologize for not preparing a pull request for this issue. I'm not certain which direction the project maintainers would like to take. Once this is clarified, I am more than happy to assist with the implementation.