- ColorRGB_01* ptrColorTitre = new ColorRGB_01(0, 0, 0);
- return new Image(create(), ptrColorTitre); // both ptr destroy by destructor of ImageFonctionel
+
+ const int dw = 16 * 50;
+ const int dh = 16 * 50;
+ const int dg = 32; // 32x32.
+ const int db = 8; // 8x8.
+
+ ColorRGB_01* ptrColorTitre = new ColorRGB_01(255, 255, 255);
+ return new Image(create(dw, dh, dg, db), ptrColorTitre); // both ptr destroy by destructor of ImageFonctionel