Skip to content

Input file contains unsupported image format #138

@SpareaCopper

Description

@SpareaCopper

I downloaded test images from unsplash, they were .jpg, tried .jpeg and also .JPEG in case it was just container naming being issue. I checked with exiftool in case it was heic codec and images were indeed .jpg
This also happens on different machine.

⚙ Input file contains unsupported image format simple-photo-gallery 20:00:44

at Sharp.toBuffer (C:\Users\user\AppData\Roaming\npm\node_modules\simple-photo-gallery\node_modules\sharp\lib\output.js:163:17)
at createGallerySocialMediaCardImage (/C:/Users/user/AppData/Roaming/npm/node_modules/simple-photo-gallery/dist/index.js:120:100)
at async buildGallery (/C:/Users/user/AppData/Roaming/npm/node_modules/simple-photo-gallery/dist/index.js:948:5)
at async build (/C:/Users/user/AppData/Roaming/npm/node_modules/simple-photo-gallery/dist/index.js:1055:7)
at async Command.<anonymous> (/C:/Users/user/AppData/Roaming/npm/node_modules/simple-photo-gallery/dist/index.js:1596:22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions