Problem with 2d wavelets example

Hi All

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

img = imread(“lena.tiff”)
x = permutedims(, [ndims(])
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