# Images & Media

Vector Messenger allows you to upload different types of images, videos, and other file formats. All media downloads can be found under the `vector` folder, under downloads on your local device. As of the `v0.2.1` release, images are able to be dragged and dropped as well as using the Upload Files icon on the left side of the chat messenger box displayed at the bottom of the Vector Messenger GUI.

### ThumbHash

Vector Messenger previously used [BlurHash](https://github.com/woltapp/blurhash), which is a compact representation of a placeholder for an image that saves the user time and disk space. As of `v0.3.1` Vector switched to [ThumbHash](https://github.com/VectorPrivacy/fast-thumbhash), which is an improved and optimized version of perceptual image hashing or image placeholders.

> Vector uses **fast-thumbhash**, a custom open-source Rust crate developed by [Formless Labs](https://x.com/FormlessLabs), to generate compact image placeholder hashes for media shared in chats. Based on the ThumbHash algorithm, it converts images into a tiny \~26 character string that decodes client-side into a smooth, color-accurate blurred preview. So, images feel instant to load rather than popping in from nothing. The implementation is a 12x performance improvement over the standard `thumbhash` crate, achieved through separable 2D DCT transforms, Chebyshev cosine recurrence, and fully stack-allocated buffers with zero heap allocation in the hot path. It also uses base91 encoding, which is more efficient than the base83 used by BlurHash. Thumbhash produces smaller strings while carrying more information, including alpha channel support and embedded aspect ratio. The crate is MIT licensed and available at [GitHub](https://github.com/VectorPrivacy/fast-thumbhash).

<figure><img src="https://4018397395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3LGA7a9Evs77SLg3yRNI%2Fuploads%2FjVMuwmBvEqqjsBpo4Rs6%2Fvector-thumbhash-GIF.gif?alt=media&#x26;token=7aef932f-c40d-475b-a498-1b47d49f8551" alt="" width="288"><figcaption></figcaption></figure>

### Supported Media

Vector Messenger currently supports the most common filetypes for pictures, videos, and audio. With future releases, Vector will be adding support for new filetypes to improve the overall user experience. The complete list of supported media types is listed below in the dropdown menu.&#x20;

<details>

<summary><i class="fa-image">:image:</i>  Supported Media Types</summary>

* `.png` → Portable Network Graphics (<mark style="color:yellow;">image</mark>)&#x20;
* `.jpg` → Joint Photographic Experts Group (<mark style="color:yellow;">image</mark>)&#x20;
* `.gif` → Graphics Interchange Format (<mark style="color:yellow;">image</mark>)
* `.svg` → Scalable Vector Graphics (<mark style="color:yellow;">image</mark>)&#x20;
* `.tiff` → Tagged Image File Format (<mark style="color:yellow;">image</mark>)&#x20;
* `.bmp` → Bitmap (<mark style="color:yellow;">image</mark>)&#x20;
* `.ico` → Icon  for Windows Icon format (<mark style="color:yellow;">image</mark>)&#x20;
* `.mov` → QuickTime Movie (<mark style="color:blue;">video</mark>)&#x20;
* `.mp3` → MPEG-1/2 Audio Layer III (<mark style="color:purple;">audio</mark>)&#x20;
* `.mp4` → MPEG-4 Part 14 (<mark style="color:blue;">video</mark>, <mark style="color:purple;">audio</mark>, subtitles, etc.)&#x20;
* `.webm` → Web Media (<mark style="color:blue;">video</mark>, <mark style="color:purple;">audio</mark>, subtitles, etc.)&#x20;

</details>

### Unsupported Media

<div><figure><img src="https://4018397395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3LGA7a9Evs77SLg3yRNI%2Fuploads%2FWYrc8yYffUfaY1KunTub%2FVector-Media-Upload-Updated.png?alt=media&#x26;token=aedd6675-e0ff-4b74-87f6-2005231557af" alt="Vector Messenger Unsupported Media Filetypes (Screenshot)" width="286"><figcaption><p>Supported Media Filetypes Displayed</p></figcaption></figure> <figure><img src="https://4018397395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3LGA7a9Evs77SLg3yRNI%2Fuploads%2FNYToPDEU9b47jZRHQWXc%2FVector-Media-Upload-Unknown.png?alt=media&#x26;token=5e1d13d5-b168-4093-8f85-716211453fdb" alt="Unsupported Media Filetypes Displayed" width="286"><figcaption><p>Unsupported Media Filetypes Displayed</p></figcaption></figure></div>

With the current `v0.3.0` release, there are many filetypes that Vector now supports, but for  unsupported files, there is a visual display letting the user know the filetype, size, and name. Referencing the images above, you will see the in-app display when certain filetypes are not supported. For security purposes, Vector also plans to add a support prompt confirming if this is the correct file the user wants to send, as well as the risks downloading certain files online to improve overall safety.

{% hint style="info" %}
You can request certain filetypes to be added by creating an issue on [GitHub](https://github.com/VectorPrivacy/Vector/issues) or on [Discord](https://discord.gg/ar2pnE9Huy).
{% endhint %}
