There are various file formats used for different types of digital data and graphic design work. Raster images are made up of pixels while vector images use paths. Common raster formats include JPEG, PNG, GIF and TIFF. JPEG is best for photos but loses quality each time it's resaved. PNG is lossless and better for logos. PSD files preserve layers and are widely used in design. Vector formats include EPS, which prints at high quality. RAW files store unprocessed camera sensor data to give more editing control. Different programs are used to create and edit raster and vector images.