• Bastien Nocera's avatar
    libdocument: Error out early with unsupported content · 20f37088
    Bastien Nocera authored
    No need to try loading the file through the decompressing loader if the
    contents inside the document is known to be unsupported. This changes
    the error message for loading WebP comics from:
    Error loading document: File type Zip archive (application/zip) is not supported
    Error loading document: No supported images in archive