This commit is contained in:
bonkmaykr committed 2025-02-11 02:58:46 -06:00
1 parent 891606c853
commit df097c6533
2 files changed
+11 -5

No files matched your search

+3 -3
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++;
}