Skip to content

Quality parameter not working #129

@khawerrind

Description

@khawerrind

I am trying to pass in the quality parameter for the jpeg image. However quality does not have any effect on the size of the image.

const imageRequest = JSON.stringify({
    bucket: "----",
    key: "----",
    edits: {
    	resize: {
            width: 300,
            height: 300,
            fit: 'inside'
    	}
    },
    jpeg: { quality: 70 }
});

I tried to change the quality to 40 but the size of the image is same as with quality 60 or even if there is no quality parameter. Am i missing something?

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