# Displaying .tiff or .tif images in Julia through QML.jl

**URL:** <https://discourse.julialang.org/t/displaying-tiff-or-tif-images-in-julia-through-qml-jl/114394>\
**Category:** General Usage\
**Created:** [May 17, 2024, 12:20pm UTC](https://discourse.julialang.org/t/displaying-tiff-or-tif-images-in-julia-through-qml-jl/114394 "2024-05-17T12:20:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moeasy64](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/moeasy64/32/209303_2.png) [@Moeasy64](https://discourse.julialang.org/u/Moeasy64)\
**Post date:** [May 17, 2024, 12:20pm UTC](https://discourse.julialang.org/t/displaying-tiff-or-tif-images-in-julia-through-qml-jl/114394/1 "2024-05-17T12:20:11Z")

</div>

Good morning, I am trying to display a .tiff image inside my qml application through qml.jl. I’ve seen there’s a way through third party bundles to display such image type. Anyway I can’t figure out how to do it with Julia. is there a way?

---

<div class="post-metadata">

**Author:** ![kimikage](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kimikage/32/14534_2.png) [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Post date:** [May 17, 2024, 10:45pm UTC](https://discourse.julialang.org/t/displaying-tiff-or-tif-images-in-julia-through-qml-jl/114394/2 "2024-05-17T22:45:15Z")

</div>

Welcome to Julia Discourse.

I am not familiar with QML.jl (or Qt), but README.md explains the basic usage.

> **[GitHub - JuliaGraphics/QML.jl: Build Qt6 QML interfaces for Julia programs.](https://github.com/JuliaGraphics/QML.jl)**
>
> Build Qt6 QML interfaces for Julia programs. Contribute to JuliaGraphics/QML.jl development by creating an account on GitHub.

Images, i.e., arrays of colors, could be displayed with `display()` (via PNG). Images.jl is a collection of packages related to image processing. You could get an array of colors with `img = load("image.tiff")`.

> <https://github.com/barche/QmlJuliaExamples/blob/master/images/image.jl>

Also, if you convert the color type to `ARGB32` (e.g., `ARGB32.(img)`), you should be able to use `JuliaCanvas`.

> <https://github.com/barche/QmlJuliaExamples/blob/master/images/threadedcanvas.jl>

There are many variations of TIFFs, so your TIFF files might not appear as you expect. If you run into problems with reading TIFFs, you may want to create a separate question topic.
