Lines Matching refs:colorspace
106 colorspace[MagickPathExtent]; in IsTXT() local
122 &rows,&depth,colorspace); in IsTXT()
386 colorspace[MagickPathExtent], in ReadTXTImage() local
452 *colorspace='\0'; in ReadTXTImage()
454 colorspace); in ReadTXTImage()
468 LocaleLower(colorspace); in ReadTXTImage()
469 i=(ssize_t) strlen(colorspace)-1; in ReadTXTImage()
471 if ((i > 0) && (colorspace[i] == 'a')) in ReadTXTImage()
473 colorspace[i]='\0'; in ReadTXTImage()
476 type=ParseCommandOption(MagickColorspaceOptions,MagickFalse,colorspace); in ReadTXTImage()
507 switch (image->colorspace) in ReadTXTImage()
562 if (image->colorspace == LabColorspace) in ReadTXTImage()
725 colorspace[MagickPathExtent], in WriteTXTImage() local
771 (void) CopyMagickString(colorspace,CommandOptionToMnemonic( in WriteTXTImage()
772 MagickColorspaceOptions,(ssize_t) image->colorspace),MagickPathExtent); in WriteTXTImage()
773 LocaleLower(colorspace); in WriteTXTImage()
776 (void) ConcatenateMagickString(colorspace,"a",MagickPathExtent); in WriteTXTImage()
787 GetQuantumRange(image->depth),colorspace); in WriteTXTImage()
820 if ((pixel.colorspace == LinearGRAYColorspace) || in WriteTXTImage()
821 (pixel.colorspace == GRAYColorspace)) in WriteTXTImage()
833 if (pixel.colorspace == CMYKColorspace) in WriteTXTImage()