Update images.c convertion des images bug et affichage des images

This commit is contained in:
Mathieu PROAL 2022-11-21 17:14:48 +01:00
parent 8634bb991a
commit 4e4ebb20a6
25 changed files with 35 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 457 B

After

Width:  |  Height:  |  Size: 457 B

View File

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 499 B

View File

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

BIN
Images/image04.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

BIN
Images/image05.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

BIN
Images/image06.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 654 B

After

Width:  |  Height:  |  Size: 654 B

View File

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 489 B

View File

Before

Width:  |  Height:  |  Size: 425 B

After

Width:  |  Height:  |  Size: 425 B

View File

Before

Width:  |  Height:  |  Size: 466 B

After

Width:  |  Height:  |  Size: 466 B

View File

Before

Width:  |  Height:  |  Size: 570 B

After

Width:  |  Height:  |  Size: 570 B

View File

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 602 B

View File

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

View File

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 427 B

View File

Before

Width:  |  Height:  |  Size: 675 B

After

Width:  |  Height:  |  Size: 675 B

View File

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 483 B

View File

Before

Width:  |  Height:  |  Size: 921 B

After

Width:  |  Height:  |  Size: 921 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -5,11 +5,41 @@
int main(void){
InitialiserGraphique();
ChoisirEcran(0);
CreerFenetre(150,150,500,500);
/*FILE* background;
background=fopen("Images/background.jpg", "x");
FILE*/
ChargerImage("Images/background.png",0,0,0,0,500,500);
CreerFenetre(0,0,1024,576);
ChargerImage("Images/background.png",0,0,0,0,1024,576);
ChargerImage("Images/image00.png",10,10,0,0,40,40);
ChargerImage("Images/image01.png",60,10,0,0,40,40);
ChargerImage("Images/image02.png",110,10,0,0,40,40);
ChargerImage("Images/image03.png",160,10,0,0,40,40);
ChargerImage("Images/image04.jpg",210,10,0,0,40,40);
ChargerImage("Images/image05.jpg",260,10,0,0,40,40);
ChargerImage("Images/image06.jpg",310,10,0,0,40,40);
ChargerImage("Images/image07.png",360,10,0,0,40,40);
ChargerImage("Images/image08.png",10,60,0,0,40,40);
ChargerImage("Images/image09.png",60,60,0,0,40,40);
ChargerImage("Images/image10.png",110,60,0,0,40,40);
ChargerImage("Images/image11.png",160,60,0,0,40,40);
ChargerImage("Images/image12.png",210,60,0,0,40,40);
ChargerImage("Images/image13.png",260,60,0,0,40,40);
ChargerImage("Images/image14.png",310,60,0,0,40,40);
ChargerImage("Images/image15.png",360,60,0,0,40,40);
ChargerImage("Images/image16.png",10,110,0,0,40,40);
ChargerImage("Images/image17.png",60,110,0,0,40,40);
ChargerImage("Images/image18.png",110,110,0,0,40,40);
ChargerImage("Images/image19.png",160,110,0,0,40,40);
ChargerImage("Images/image20.png",210,110,0,0,40,40);
ChargerImage("Images/image00.png",260,110,0,0,40,40);
ChargerImage("Images/image00.png",310,110,0,0,40,40);
ChargerImage("Images/image00.png",360,110,0,0,40,40);
ChargerImage("Images/image00.png",10,160,0,0,40,40);
ChargerImage("Images/image00.png",60,160,0,0,40,40);
ChargerImage("Images/image00.png",110,160,0,0,40,40);
ChargerImage("Images/image00.png",160,160,0,0,40,40);
ChargerImage("Images/image00.png",210,160,0,0,40,40);
ChargerImage("Images/image00.png",260,160,0,0,40,40);
ChargerImage("Images/image00.png",310,160,0,0,40,40);
ChargerImage("Images/image00.png",360,160,0,0,40,40);
Touche();