Reputation: 323
As the title says, I'm thinking about a project, and that project involves file compression, I want to know if there is a way to compress any file into a customized extension like a video file of 50MB compressed to 30MB? but the extension will not be .zip or .rar, I want to "create" an extension so the output file would be "compressedFile.some".
Thanks in advance...
Upvotes: 1
Views: 984
Reputation: 676
You could actually just rename it. We did that one a project some years ago. Compress the file with a zip library, renam and done.
Even microsoft does it. Go rename an xlsx or docx file to .zip and take a looksie inside.
Upvotes: 2