Assignment 1 IEM
Assignment 1 IEM
BSEMC 1B
Introduction To EM Computing
2. How does a printer produce its output in black and in colored output?
- A printer produces output through a process that varies depending on whether it's
printing in black or color. For **black-and-white printing**, the printer uses a single
ink or toner cartridge containing black pigment. The printer applies this ink or toner to
the paper in precise patterns to create text and images. In **color printing**, the
printer uses multiple cartridges—typically cyan, magenta, yellow, and black (often
referred to as CMYK). By mixing these four colors in varying proportions, the printer
can produce a wide range of colors and shades. The printer's mechanism precisely
controls the application of each color to overlap and blend on the paper, creating full-
color images and text with high accuracy.
4. Differentiate BMP, JPEG, TIFF, PNG, GIF, and WEBP and compare one from
another?
- BMP (Bitmap) is an uncompressed image format that offers high quality but large file
sizes due to its lack of compression. JPEG (Joint Photographic Experts Group) uses
lossy compression to reduce file size while sacrificing some image quality, making it
ideal for photographs and images with gradients. TIFF (Tagged Image File Format)
supports both lossless and lossy compression, offering high quality and flexibility but
resulting in large file sizes, often used for professional and archival purposes. PNG
(Portable Network Graphics) uses lossless compression and supports transparency,
making it suitable for images requiring high detail and transparency effects. GIF
(Graphics Interchange Format) employs lossless compression but supports only 256
colors, making it best for simple graphics and animations. WEBP combines lossy and
lossless compression and supports transparency and animations, providing smaller file
sizes with comparable or better quality than JPEG and PNG, making it a modern
alternative for web use. Each format has its strengths and ideal use cases based on the
trade-offs between quality, file size, and features.