Skip to content

How can you retrieve the quality value you specify when you run cjpeg on a file and you want it from what you got? #442

@FredWahl

Description

@FredWahl

I have jpg files and I want to compress some of them if they are large enough and they haven’t already been compressed by tools like cjpeg or jpegmini. It makes no sense to compress a file that has rhe same quality or lower than what I specify when I run cjpeg. So i need some tool that gives me this value. Imagemagick does return a quality value which turns out to be something called ”compression quality” which i think is something different. When I run this on my original file, I got 93 and when I did the same on my compressed file, it returned 0 which isn’t very helpful. What I want is sometimes that returns the same value that i used in cjpeg.

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