Comments (3)
La formule pour calculer la taille est
81 + 8*width*height + height
81
- P2\n : 3 caractères
- width, height : une ligne peut faire jusqu'à 70 caractères
- v_max : Un entier ferra maximum 7 digits.
8widthheight + height
- 8 : 7 digits pour un nombre + ' '
- 8widthheight : pour chaque pixel
- + height : on ajoute tout les retours chariot
C'est un peu trivial, il faudra trouver une solution pour avoir la taille en caractère de chaque digit plutôt que de partir du principe qu'il PEUT faire 7 caractères.
from imagetools.
Tant que l'allocation mémoire ne sera pas dynamique, on ne pourra pas effectuer de test sur de grandes images
from imagetools.
Ou alors on enregistre l'image bloc par bloc (Actuellement le cas pour les BMP) plutôt que de charger toute l'image dans une chaîne de caractères. Il faut essayer les 2 et comparer les performances !
from imagetools.
Related Issues (20)
- [BMP] Filtrage linéaire HOT 4
- [PGM] Filtre Sobel HOT 1
- [PGM] Trier les fonctions
- [BMP] Segmenter RGB HOT 2
- Rerédiger le Makefile
- [GUI] Choix de la techno HOT 1
- [CLI] Définir la liste des commandes HOT 2
- [CLI] Lecture d'un dossier complet HOT 1
- Histogramme cumulé
- Histogramme changer les couleurs
- [BMP] Histogramme toutes composentes HOT 1
- [GUI] Conception GUI HOT 3
- [GUI] Listing dossier
- Ajout des const HOT 1
- [GUI] Affichage des histogrammes HOT 1
- [GUI] Ajout de l'HUD pour les PGM HOT 2
- [CI] Histogramme en couleur HOT 1
- [CLI] Histograme en couleur HOT 1
- Fichier de test en masse HOT 2
- [PGM] Le script de test ne parvient pas à traiter les PGM HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagetools.