You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have an option to specify an aspect ratio instead of an explicit width and height, and have those be determined by the individual file's dimension.
For instance, If I have a folder with the following image files and dimensions, and I want all of them to end up being resized to a 16:9 format: a.jpg - 1200px * 800px b.png - 1920px * 1200px c.jpg - 200px * 200px d.jpg - 800px * 400px
I could have them all set to a certain width and height, but that may mean some of them will be inflated, which isn't desirable.
A better option would be add an aspect-ratio option, say 16:9 in this case, and have resizing be based on the image dimensions and specified ratio. With the above files as example, we would end up with the following files in the dist folder: a.jpg - 1200px*675px b.png - 1920px * 1080px c.jpg - 200px * 112px d.jpg - 711px * 400px
The text was updated successfully, but these errors were encountered:
It would be good to have an option to specify an aspect ratio instead of an explicit width and height, and have those be determined by the individual file's dimension.
For instance, If I have a folder with the following image files and dimensions, and I want all of them to end up being resized to a 16:9 format:
a.jpg
- 1200px * 800pxb.png
- 1920px * 1200pxc.jpg
- 200px * 200pxd.jpg
- 800px * 400pxI could have them all set to a certain width and height, but that may mean some of them will be inflated, which isn't desirable.
A better option would be add an
aspect-ratio
option, say 16:9 in this case, and have resizing be based on the image dimensions and specified ratio. With the above files as example, we would end up with the following files in thedist
folder:a.jpg
- 1200px*675pxb.png
- 1920px * 1080pxc.jpg
- 200px * 112pxd.jpg
- 711px * 400pxThe text was updated successfully, but these errors were encountered: