Contenir l'image

Adapte l’image entière à la largeur et à la hauteur choisies sans la recadrer ni la déformer. Si les proportions diffèrent, l’espace restant est rempli par des marges.

Entrée: Fichier image (Ouvrir un fichier)Résultat: Aperçu et téléchargement de l’image

ou déposer une image ici

Saisie de texte

Exécuter pour voir le résultat

Exemples

Fit the complete image inside a 64 by 64 square. Compare this padding behaviour with Cover Image.

A checkerboard exposes flipped or softened edges

Entrée

A checkerboard exposes flipped or softened edges — original image

Résultat

Run to see the image

Expected: 64 × 64 px · dimensions checked

Largeur
64
Hauteur
64
Alignement horizontal
Center
Alignement vertical
Middle
Algorithme de redimensionnement
Nearest Neighbour
Fond opaque
On
A portrait frame shows cropping and padding

Entrée

A portrait frame shows cropping and padding — original image

Résultat

Run to see the image

Expected: 64 × 64 px · dimensions checked

Largeur
64
Hauteur
64
Alignement horizontal
Center
Alignement vertical
Middle
Algorithme de redimensionnement
Nearest Neighbour
Fond opaque
On
An RGB landscape separates the colour channels

Entrée

An RGB landscape separates the colour channels — original image

Résultat

Run to see the image

Expected: 64 × 64 px · dimensions checked

Largeur
64
Hauteur
64
Alignement horizontal
Center
Alignement vertical
Middle
Algorithme de redimensionnement
Nearest Neighbour
Fond opaque
On
A translucent badge tests alpha preservation

Entrée

A translucent badge tests alpha preservation — original image

Résultat

Run to see the image

Expected: 64 × 64 px · dimensions checked

Largeur
64
Hauteur
64
Alignement horizontal
Center
Alignement vertical
Middle
Algorithme de redimensionnement
Nearest Neighbour
Fond opaque
On
A pixel-art cross makes rotation visible

Entrée

A pixel-art cross makes rotation visible — original image

Résultat

Run to see the image

Expected: 64 × 64 px · dimensions checked

Largeur
64
Hauteur
64
Alignement horizontal
Center
Alignement vertical
Middle
Algorithme de redimensionnement
Nearest Neighbour
Fond opaque
On

Outils associés

Multimédia

Référence de l’opération

Voir la documentation technique originale (English)