2023-12-04 23:27:48 +01:00
|
|
|
# fileformatsproject
|
|
|
|
|
|
|
|
It needs [libcproject v4.1.1](https://github.com/theoludwig/libcproject/releases/tag/v4.1.1) static library to compile and execute.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
make # to compile
|
|
|
|
make run # to run main
|
|
|
|
make lint # to lint the code
|
|
|
|
make clean # to clean up
|
|
|
|
```
|
|
|
|
|
|
|
|
## Ideas/TODOs
|
|
|
|
|
|
|
|
- [ ] Make functions `image_from_ppm_binary`, `image_from_ppm_text`, which receive `bytes_t*` and convert accordingly to `struct image*`
|
|
|
|
- [ ] Try to convert PPM to another format more famous (JPG, PNG, GIF, WEBP) and vice-versa
|
|
|
|
- [ ] Explore other file formats (not only images, but also audio, video, etc.)
|
2023-12-04 23:40:09 +01:00
|
|
|
- [ ] Investigate how famous file formats work, and implement a simple parser for each of them in the Rust programming language.
|
|
|
|
- [ ] Images: PPM, PNG, JPG, GIF, etc.
|
|
|
|
- [ ] Videos: MP4, AVI, etc.
|
|
|
|
- [ ] Audio: MP3, WAV, etc.
|
|
|
|
- [ ] Documents: PDF, DOCX, etc.
|