Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.
This repository was archived by the owner on May 25, 2023. It is now read-only.

Client side resize bad aliasing depending on browser #3721

Open
@redemption

Description

@redemption

Hello,

This is not so much a "bug" as trying to learn about something we observe and maybe understanding if there can be improvements.

We use client side resize in jquery upload to resize images to around 1200x825px height.

We've noticed that Firefox and Chrome have noticeably different image quality after resize, but both leave much more aliasing in angled lines than server side Imagick does with its default filters (Lanczos or Mitchell).

Is this something that can be improved somehow? Are some browsers better than others with client side resize, and what are they?

I took an image and uploaded with client side resize off, then with it "on" in Chrome and Firefox, and I cropped out a section from each sample to demonstrate the most obvious artifacts:

example_resize_jqueryupload

The angled line is the most obvious, but even if you look at the "psb speakers" logo you can clearly see the Imagic resize is cleaner than the other two, especially compared to Firefox which has the worst resize.

Is there any way to set the client side resize to use better or different resize algorithms?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions