Image viewer (#9425)

This builds on #9353 by adding an image viewer to Zed. Closes #5251.

Release Notes:

- Added support for rendering image files
([#5251](https://github.com/zed-industries/zed/issues/5251)).

<img width="1840" alt="image"
src="https://github.com/zed-industries/zed/assets/836375/3bccfa8e-aa5c-421f-9dfa-671caa274c3c">

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
Kyle Kelley 2024-03-19 10:13:10 -07:00 committed by GitHub
parent 8d515a620f
commit 56bd96bc64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 422 additions and 45 deletions

14
Cargo.lock generated
View file

@ -4784,6 +4784,19 @@ dependencies = [
"tiff",
]
[[package]]
name = "image_viewer"
version = "0.1.0"
dependencies = [
"anyhow",
"db",
"gpui",
"project",
"ui",
"util",
"workspace",
]
[[package]]
name = "indexmap"
version = "1.9.3"
@ -12691,6 +12704,7 @@ dependencies = [
"futures 0.3.28",
"go_to_line",
"gpui",
"image_viewer",
"install_cli",
"isahc",
"journal",