Create collision layer using high png image as a map

I was woundering if it is possible to create a collision layer from a black and white high res png image.
Black being the collision areas and white being the area a character could move? I have been looking around online and cannot find any information on this so I am guessing its not possible, however though it was worth asking here.

any help would be greatly appreciated.

If you already have that image, why would you want to create a collision layer with it? Couldn’t you just use the image in your game directly? If you want to see it in Tiled as well you could place it either as a tile object or using an Image Layer.

I have created a complex maze in illustrator… I was woundering if there was a automated way to make the walls of the maze which are lines into a collision object that is like what you make in the collision layer.

Ok, there is no built-in way to do this in Tiled, so if you want to automate it you will probably need to write this yourself.

What kind of code are you using to code the maze?