Searched refs:packbits (Results 1 – 4 of 4) sorted by relevance
1095 *packbits; in PackbitsEncodeImage() local1105 packbits=(unsigned char *) AcquireQuantumMemory(128UL,sizeof(*packbits)); in PackbitsEncodeImage()1106 if (packbits == (unsigned char *) NULL) in PackbitsEncodeImage()1170 packbits[count+1]=pixels[count]; in PackbitsEncodeImage()1176 *packbits=(unsigned char) (count-1); in PackbitsEncodeImage()1178 (void) WriteBlobByte(image,packbits[j]); in PackbitsEncodeImage()1185 packbits=(unsigned char *) RelinquishMagickMemory(packbits); in PackbitsEncodeImage()
569 packbits[128]; in PCLPackbitsCompressImage() local636 packbits[count+1]=pixels[count]; in PCLPackbitsCompressImage()642 *packbits=(unsigned char) (count-1); in PCLPackbitsCompressImage()644 *q++=packbits[j]; in PCLPackbitsCompressImage()
2595 *packbits; in PSDPackbitsEncodeImage() local2606 packbits=(unsigned char *) AcquireQuantumMemory(128UL,sizeof(*packbits)); in PSDPackbitsEncodeImage()2607 if (packbits == (unsigned char *) NULL) in PSDPackbitsEncodeImage()2672 packbits[count+1]=pixels[count]; in PSDPackbitsEncodeImage()2678 *packbits=(unsigned char) (count-1); in PSDPackbitsEncodeImage()2680 *q++=packbits[j]; in PSDPackbitsEncodeImage()2687 packbits=(unsigned char *) RelinquishMagickMemory(packbits); in PSDPackbitsEncodeImage()
53 truth = np.packbits(x > threshold).reshape(rows, cols)