A 3-D block transform based approach to color image compression