This is a color model display format that uses the three primary colors (blue, red and green) to create an image. Each color can have up to 255 gradations, allowing for color depths of up to 48 bits. RGB supports the display of 16,777,216 colors.
JPEG is one of the most popular graphic formats used for storing still images and similar images. JPEG algorithm is capable of compressing the image as lossy and lossless. The most widely used JPEG received in digital photography and picture archiving and communication via the Internet. JPEG compression is not suitable for drawings, text and iconic graphics.