This commit is contained in:
2025-02-11 02:58:46 -06:00
parent 891606c853
commit df097c6533
2 changed files with 11 additions and 5 deletions

6
main.c
View File

@@ -232,9 +232,9 @@ int main(const int argc, char *argv[]) {
MagickWriteImage(chunk, framename);
char command[57 + 12*piecesX*piecesY]; // retard hack :)))))) because magickwand can't just do what i fucking ask
sprintf(command, "mogrify -depth 8 -define bmp:format=bmp3 -type palette %s", framename);
if (system(command)) { printf("ERROR trying to run mogrify! Is imagemagick installed to your PATH?\n"); return 0; }
//char command[57 + 12*piecesX*piecesY]; // retard hack :)))))) because magickwand can't just do what i fucking ask
//sprintf(command, "mogrify -depth 8 -define bmp:format=bmp3 -type palette %s", framename);
//if (system(command)) { printf("ERROR trying to run mogrify! Is imagemagick installed to your PATH?\n"); return 0; }
iw++;
}