This document describes a hardware implementation of the discrete cosine transform (DCT) using an FPGA for image compression. It presents the theory behind DCT and describes implementing a 2D DCT algorithm using a Lee algorithm on an FPGA. Experimental results show the FPGA implementation achieves a maximum 8% error compared to MATLAB and uses only 14% of FPGA resources while allowing real-time processing for video compression.