Searched refs:packbits (Results 1 – 4 of 4) sorted by relevance
1083 *packbits; in PackbitsEncodeImage() local1093 packbits=(unsigned char *) AcquireQuantumMemory(128UL,sizeof(*packbits)); in PackbitsEncodeImage()1094 if (packbits == (unsigned char *) NULL) in PackbitsEncodeImage()1158 packbits[count+1]=pixels[count]; in PackbitsEncodeImage()1164 *packbits=(unsigned char) (count-1); in PackbitsEncodeImage()1166 (void) WriteBlobByte(image,packbits[j]); in PackbitsEncodeImage()1173 packbits=(unsigned char *) RelinquishMagickMemory(packbits); in PackbitsEncodeImage()
570 packbits[128]; in PCLPackbitsCompressImage() local637 packbits[count+1]=pixels[count]; in PCLPackbitsCompressImage()643 *packbits=(unsigned char) (count-1); in PCLPackbitsCompressImage()645 *q++=packbits[j]; in PCLPackbitsCompressImage()
2158 *packbits; in PSDPackbitsEncodeImage() local2168 packbits=(unsigned char *) AcquireQuantumMemory(128UL,sizeof(*packbits)); in PSDPackbitsEncodeImage()2169 if (packbits == (unsigned char *) NULL) in PSDPackbitsEncodeImage()2234 packbits[count+1]=pixels[count]; in PSDPackbitsEncodeImage()2240 *packbits=(unsigned char) (count-1); in PSDPackbitsEncodeImage()2242 *q++=packbits[j]; in PSDPackbitsEncodeImage()2249 packbits=(unsigned char *) RelinquishMagickMemory(packbits); in PSDPackbitsEncodeImage()
54 truth = np.packbits(x > threshold).reshape(rows, cols)