Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to resize by setting a maximum resolution or width/height #117

Open
nekohayo opened this issue May 20, 2022 · 1 comment
Open

Ability to resize by setting a maximum resolution or width/height #117

nekohayo opened this issue May 20, 2022 · 1 comment
Labels
feature-request Feature request out-of-scope? Does this should be part of Curtail?

Comments

@nekohayo
Copy link

nekohayo commented May 20, 2022

To be an alternative to GIMP or squoosh.app for web assets preparation (which are painful because both of those tools do not do batch encoding, and managing files one by one is a huge pain), I would need the ability to resize down the images' resolution at the same time as we are compressing them, in batch. Essentially tell the app "this is the maximum dimension I want in width or height, figure it out while preserving aspect ratio"

@Huluti Huluti added out-of-scope? Does this should be part of Curtail? feature-request Feature request labels Jul 11, 2022
@MoonlightWave-12
Copy link
Contributor

MoonlightWave-12 commented Apr 8, 2023

When i want to share/upload/send some photos (in JPG-format), they usually have a very high resolution (>3840x2160).
So i usually resize them to a smaller resolution (with linear interpolation), to make the filesize much smaller.
It would be nice if Curtail could do both in one step, so i don't need 2 apps to make the filesize of my images small enough.

An example:
The difference in filesize between an image with original resolution (about 4600 x 3450) and a resized image (2880 x 2160), after using Curtail to compress both images (lossy) as JPG with quality set to 90:
2.0 MB and 820 KB.
The image-quality was almost identical when displayed at the same display-size (that is not larger than the smaller image).


I think an option to reduce (but never increase) image-resolution to a chosen maximum resolution for the shortest side of the image, would be a good and simple setting.
Using the shortest side basically lets one choose the amount of detail to keep.
The aspect-ratio should always be the original aspect-ratio.

I think an on/off-toggle and a number-input-box with a preset-menu would be ideal:

[Reduce image resolution: (on/off)]
[Maximum Resolution of shortest side: (12345 | v )]

  • 720 (mobile-phone)
  • 1080 (monitor)
  • 1440
  • 2160
  • 4320 (8K-TV)

"12345" being a number-input, "v" opening some preset menu; not sure what kind of menu, though.
On a desktop-system i'd use a dropdown-list, but for mobile-phones a pop-up-menu seems to be better, i guess.
The preset-values i suggested here are common on many modern displays.
The input-box should open a numbers-only-keyboard on mobile devices.

Though a simple [12345 | - | + ] setting would be good enough; but it's nice to recommend some values; especially for people who just need their images to fit into an E-Mail and don't (want to) know about technical stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature request out-of-scope? Does this should be part of Curtail?
Projects
None yet
Development

No branches or pull requests

3 participants