Convert chooses the output encoder. Rastry accepts and writes PNG, JPEG, and WebP on every platform. HEIC input and output use the operating-system codec on macOS and Windows; Linux hides HEIC in Desktop and cannot provide that conversion path.
CLI example
rastry photo.png --to webp --quality 82 --dry-runThe shorthand adds a conversion operation and then strips metadata. A quality value is an integer from 1 to 100 and is relevant to JPEG, WebP, and HEIC output when the host encoder accepts it. PNG is lossless and does not use a quality setting.
Pipeline example
{ "type": "convert", "format": "webp", "quality": 82}Choose PNG when lossless transparency matters, JPEG for opaque photographic output, WebP when broad modern web delivery is the goal, or HEIC when the target workflow supports the system codec.