Skip to content

Supported Image Formats

ProGamerGov edited this page Oct 5, 2019 · 11 revisions

The Full List of Image Formats Supported by neural-style-pt:

neural-style-pt supports every image file format that Pillow supports: https://pillow.readthedocs.io/en/5.1.x/handbook/image-file-formats.html

-content_image, -style_image, -init_image, -output_image (Fully Supported) Formats:

  • BMP, EPS, ICNS, ICO, IM, JPEG, JPEG 2000, MSP, PCX, PNG, PPM, SGI, SPIDER, TIFF, WebP, XBM

-content_image, -style_image, -init_image (Read-only) Formats:

  • BLP, CUR, DCX, DDS, FLI, FLC, FPX, FTEX, GBR, GD, IMT, IPTC/NAA, MCIDAS, MIC, MPO, PCD, PIXAR, PSD, TGA, WAL, XPM

-output_image (Write-only) Formats:

  • PALM, PDF, XV Thumbnails

The -style_image directory loading feature currently only supports JPG, JPEG, PNG, and TIFF, but you can add any of the fully supported or read-only extensions listed above to it here.