Skip to content

Adding resize/downscaling option #8

@dia3olik

Description

@dia3olik

Hey Ryo!

Thanks for the nice workflow!

It would be really useful if the user could in addition to recompress also choose to downscale the image(s) like this:

Imagemin 640

which would resize the image, using the longest side of the image (width or height) and resize it to the resolution specified,
keeping the aspect ratio the same as the original so calculating the other side automatically based on that aspect ratio.

Or, if you want to use cjpeg only, at least have the possibility to scale as a percentage (supported by cjpeg natively) like this:

imagemin 1/2

would downscale it to half the res and so on...

It would be really useful!!!

Cheers Ryo!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions