Submitted : |image_reduire_par

**SPIP**

# Article submitted

The article "**|image\_reduire\_par**
(https://www.spip.net/ecrire/?exec=article&id_article=6536)" is submitted
for publication. on Monday 11 May 2020.

* * *

## |image\_reduire\_par

Monday 11 May 2020 , by [jack](.././?page=auteur&id_auteur=593&)

`image_reduire_par` allows you to reduce an image to a certain scale.

Where `image_reduire` reduces an image to pre-determined dimensions,
`image_reduire_par` reduces the image proportionally.

Values less than 1 are ignored (no enlargement).

**Example:** Reducing an image in the "Russian dolls" style.

    [

    (

    #FICHIER

    |image_reduire_par

    {2}

    )

    ]

    [

    (

    #FICHIER

    |image_reduire_par

    {4}

    )

    ]

    [

    (

    #FICHIER

    |image_reduire_par

    {10}

    )

    ]

    [

    (

    #FICHIER

    |image_reduire_par

    {25}

    )

    ]

Produces 4 images reduced respectively by 2, 4, 10 and 25 compared to the
original image

## See Also

**The filters**

* |image_reduire
(https://www.spip.net/ecrire/?exec=article&id_article=6364)
* |image_recadre
(https://www.spip.net/ecrire/?exec=article&id_article=5786)
* |image\_passe\_partout
(https://www.spip.net/ecrire/?exec=article&id_article=4562)

The article on the Traitement automatisé des images
(https://www.spip.net/ecrire/?exec=article&id_article=3327), also detailing
many other image filters.

— Sent by SPIP (https://www.spip.net/)

rubon199.jpg