Load image from atlas to variable?

Is it possible to load image from atlas to variable?

Something like

local img = image.load(res.response)

but from atlas, not a http?

Thank you

There is currently no way to get the raw data from an atlas asset.

You can bundle custom resources, and use resource.load()

What do you need it for?