use Deserialize;
use Serialize;
/// The type `enum` defines the type of image to which it will be converted.
/// # Converting images
///
/// You can use the API to convert your images to your desired image type. Tinify currently supports converting between `WebP`, J`PEG`, and `PNG`. When you provide more than one image `type` in your convert request, the smallest version will be returned to you.
///
/// Image converting will count as one additional compression.