SShortSingh.
Back to feed

Resizing a photo to 1200x630 without stretching: why the result can be 840x630

0
·3 views

A photo that looks stretched usually has a width-to-height ratio that differs from its original. Resizing a 4:3 photo into a 16:9 rectangle by changing both dimensions independently makes the objects in it wider or narrower. Keeping the aspect ratio avoids that distortion. It doesn't mean the result will fill every box you give it, though. That distinction matters when a website asks for an image at a specific size.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Celular apagado sigue conectado y cómo forzar un apagado real

Un celular apagado sigue conectado y forzar un apagado real se convirtió en la única defensa frente al rastreo pasivo de hardware. Presionas el botón lateral, deslizas el control en pantalla. Después, el panel de píxeles se funde en negro y crees que la comunicación ha cesado por completo. Es una ilusión óptica. El microprocesador principal entra en suspensión, pero los controladores secundarios continúan emitiendo balizas de radiofrecuencia a espaldas del usuario.