|
|
@ -265,9 +265,10 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx, int cols,
|
|
|
|
const uint32_t* line = data + (linesize / sizeof(*data)) * y;
|
|
|
|
const uint32_t* line = data + (linesize / sizeof(*data)) * y;
|
|
|
|
source[e] = line[x];
|
|
|
|
source[e] = line[x];
|
|
|
|
//fprintf(stderr, "%u/%u/%u -> %c%c%c%c %u %u %u %u\n", r, g, b, b64[0], b64[1], b64[2], b64[3], b64[0], b64[1], b64[2], b64[3]);
|
|
|
|
//fprintf(stderr, "%u/%u/%u -> %c%c%c%c %u %u %u %u\n", r, g, b, b64[0], b64[1], b64[2], b64[3], b64[0], b64[1], b64[2], b64[3]);
|
|
|
|
++x;
|
|
|
|
|
|
|
|
int tyx = (x / cdimx) + (y / cdimy) * cols;
|
|
|
|
int tyx = (x / cdimx) + (y / cdimy) * cols;
|
|
|
|
|
|
|
|
//fprintf(stderr, "Tyx: %d y: %d (%d) * %d x: %d (%d)\n", tyx, y, y / cdimy, cols, x, x / cdimx);
|
|
|
|
wipe[e] = (tacache[tyx] == SPRIXCELL_ANNIHILATED);
|
|
|
|
wipe[e] = (tacache[tyx] == SPRIXCELL_ANNIHILATED);
|
|
|
|
|
|
|
|
++x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
totalout += encodeable;
|
|
|
|
totalout += encodeable;
|
|
|
|
char out[17];
|
|
|
|
char out[17];
|
|
|
|