Skip to content

Using ResizeToFill and ResizeToFit changes colors of JPEG  #564

Open
@rbosch

Description

@rbosch

Great package!

I hope someone can help. Doing some very basic resizing. But for some JPG files there are color difference between the original and the resized image when using ResizeToFill and ResizeToFit.

test = ImageSpecField(
        source="filename",
        processors=[ResizeToFill(1024, 768)],
        format="JPEG",
        options={"quality": 100},
)

Is there any option I'm missing that would fix this?

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions