Menu

Resize an Image in the Browser: Three Numbers That Move Together
📰

Resize an Image in the Browser: Three Numbers That Move Together

DEV Community: javascript·OnePassApps·13 days ago
#L6Ia96tP
#devtojavascript#devto#dev#resize#file
Reading 0:00
15s threshold

Resizing is three numbers, and only one of them is yours to set

Most resize tools give you a slider or a handful of presets. That is fine until you need an exact pixel size for a form, a sprite sheet or a CMS that rejects anything else - at which point you end up guessing and checking the result by hand.

The Image Studio's Resize tab in OnePassApps takes the opposite approach: it shows you the width, the height and the scale of your image as live numbers, tells you which of them are locked, and hands you the resized file so you can check it yourself.

Full disclosure: I work on OnePassApps. This is the Resize tab in the Image Studio, checked in the live tab while writing this - every number below came out of a run I made, not out of the marketing copy.

Open it here: the Image Studio

The panel

The Image Studio carries seven tool tabs on one page: Convert, Compress, Resize, Crop, Remove background, Remove metadata, Images to PDF .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.