Property: ColorDepth


Specifies the color depth of a Graphics Interchange Format (GIF) file for the TSave2D_Gif component.



{ Defined in the pSave2D_Gif unit }

TGifColorDepth = (gcdColors_1b, gcdColors_2b, gcdColors_3b, gcdColors_4b, gcdColors_5b, gcdColors_6b, gcdColors_7b, gcdColors_8b);

property ColorDepth: TGifColorDepth;


Color depth, also known as bit depth, pixel format, is either the number of bits used to indicate the color of a single pixel. In a Graphics Interchange Format (GIF) file, the pixels can be defined by a varying number of bits. The property specifies which color depth will be used to save a barcode symbol to a Graphics Interchange Format (GIF) file. It can be one of these value (defined in the pSave2D_Gif unit):