---
title: Image - a crate to generate and manipulate images in Rust
timestamp: 2023-12-27T13:00:01
author: szabgab
published: true
description: Create new images, change existing images in Rust
tags:
    - image
todo:
    - TODO
---

In this series we use the [image crate](https://crates.io/crates/image) to create new images and manipulate existing ones.


* [Create empty image with the image crate of Rust](/create-empty-image) - `RgbImage`, `ImageBuffer`, `save`,
* [Create and image and draw a line in Rust](/create-image-and-draw-lines)
* [Create empty image with white background and black borders using Rust](/create-empty-image-with-white-background).
* [Create image with text written on it using Rust](/create-image-with-text) - `draw_text_mut`, `text_size`, `Font`, `Scale`, `Rgb`, `RgbImage`, `get_pixel_mut`.
* [Resize image using Rust](/resize-image) - `resize`, `save`, `width`, `height`, `FilterType`.
* [Crop image using Rust](/crop-image) - `crop_imm`, `crop`, `save`, `width`, `height`.
* [Embed image in newly created image](/embed-image)

* [Create QR code using Rust](/create-qrcode) - `qrcode`.

* [Create image for social networks](/create-image-for-social-networks)
