Wolfram Language

Directly Convert between File Formats

FileConvert can be used to convert between compatible formats supported by Import and Export.

Convert a WAV file to MP3 in order to reduce the file size.

Convert a TIFF image to JPEG to compress and save space.

Using JPEG compression can save file size at the cost of compression artifacts.

It is also easy to convert large batches of files using FileConvert. The directory dir contains 100 PNG files. Using FileSystemMap convert these PNGs into JPEGs.

Create a new directory to save new files into.

Convert files.

Total size of JPEG files.

Related Examples

de es fr ja ko pt-br zh