Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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.

Quality setting is being ignored for formats other than JPEG #31

Copy link
Copy link
@bschollnick

Description

@bschollnick
Issue body actions

A second discovery while learning the API, and evaluating it.

tnail = get_thumbnail(testfilename, '300x300', crop='center', force=True, quality=100)
82K
tnail = get_thumbnail(testfilename, '300x300', crop='center', force=True, quality=10)
5K

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

tnail = get_thumbnail(testfilename, '300x300', crop='center', force=True, format="PNG", THUMBNAIL_FORCE_FORMAT="PNG", quality=100)
148K

Pillow does allow the setting of quality for PNG's, which I use in my library. And I see the change in JPG format, so I'm not sure why this wouldn't be working for alternative graphic formats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.