Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

File extensions in Cache (& via API) do not reflect the true file format #30

@bschollnick

Description

@bschollnick

Hey.

I am looking to use Python-thumbnails as a partial replacement for a thumbnail system that I was working on... But I've noticed an issue...

tnail = get_thumbnail(testfilename, '300x300', crop='center', force=True, format="PNG")

Does set the result file format to PNG, but the file extensions in the cache folder, is JPG.

tnail.extension
'jpg'

Is this intended? I'm using this in the basic python mode, without Django, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions