Most example sketches default to 640x480 or 800x600. To force 160x128:

MJPEG is a video compression standard that uses a combination of motion and JPEG (Joint Photographic Experts Group) compression to reduce the size of video files. Unlike other compression standards like H.264 or VP9, MJPEG uses a simpler approach, compressing each video frame as a separate JPEG image. This approach makes MJPEG easier to implement and decode, but it also results in larger file sizes compared to more modern compression standards.

: Since each frame is independent, ensure your hardware has enough SRAM to hold at least one 160x128 JPEG buffer (typically ~5-10KB depending on quality). Common Use Cases IoT Surveillance