Skip to main content

Utility Functions API Reference

Utility functions for image processing.

Functions

convert_to_jpg

Convert image to JPG format.

from tryon.preprocessing import convert_to_jpg

convert_to_jpg(
image_path="image.png",
output_dir="output",
size=(1024, 768) # Optional
)

See API Overview for complete reference.