# Problem with 2d wavelets example

**URL:** <https://discourse.julialang.org/t/problem-with-2d-wavelets-example/18730>\
**Category:** General Usage\
**Tags:** question\
**Created:** [December 17, 2018, 2:34am UTC](https://discourse.julialang.org/t/problem-with-2d-wavelets-example/18730 "2018-12-17T02:34:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayarodionov](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ayarodionov](https://discourse.julialang.org/u/ayarodionov)\
**Post date:** [December 17, 2018, 2:34am UTC](https://discourse.julialang.org/t/problem-with-2d-wavelets-example/18730/1 "2018-12-17T02:34:32Z")

</div>

Hi All

I’m trying to run transform2d.jl example  
using Wavelets  
using Images # for imread and imwrite

img = imread(“lena.tiff”)  
x = permutedims(img.data, [ndims(img.data)👎1])  
L = 2  
xts = wplotim(x, L, POfilter(“db3”))

imwrite(xts, “lena\_2d.png”)

# convert with ImageMagick

run(`convert lena_2d.png transform2d_lena.jpg`)

I understand that function imread is gone.  
I tired to use load instead. But permutedims reqires different type of data.

What I can use instead of imread?

Thank you  
Anatoly Rodionov
