Patent attributes
An image compression device includes a floating-point texture-loading unit, a shader, a RGB to YCrCb compressor, and a parameter adjusting unit. The floating-point texture-loading unit receives raw image data that includes N number of RGB pixels. The shader receives the raw image data and shades the N number of RGB pixels. The RGB to YCrCb compressor receives the shaded image data and calculates the brightness/chroma value of each of the RGB pixels, wherein the chroma value of the RGB pixel having the smallest brightness value among all the RGB pixels is selected as a common chroma value for all the RGB pixels. The parameter adjusting unit receives and adjusts N number of brightness values of the RGB pixels and the common chroma value and stores them in a form of compressed image data into a memory.