Skip to content

Commit

Permalink
Mensagem resumo
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-Rocha committed Nov 23, 2023
1 parent bc1f42d commit 4a38216
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions image8bit.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@ Image ImageCreate(int width, int height, uint8 maxval) { ///
assert (height >= 0);
assert (0 < maxval && maxval <= PixMax);
// Insert your code here!


//O array É apenas uma linha (AS LINHAS DA IMAGEM ESTÃO SEGUIDAS UMAS ÀS OUTRAS)


for (int i = 0; i<width; i++){
for (int j = 0; j<height; j++){
pixel[i] = 0;// ?????????????????????????????????????????????????? Não sei se isto está bem (É óbvio que está mal)
}
}


}

/// Destroy the image pointed to by (*imgp).
Expand Down

0 comments on commit 4a38216

Please sign in to comment.