How can I remove maps in the world when the tmx files were deleted already

Hi. I am trying to export my world as an image.
So, I used tmxrasterizer.exe on cmd.

Please refer to the below.

C:\Users\a>C:\Tiled\tmxrasterizer.exe" C:\A\LevelDesign\TiledData\Field\A\Myworld.world" “C:\A\LevelDesign\TiledData\Field\Myworld”

However, it gave me an error message.

Error while reading “C:/A/LevelDesign/TiledData/Field/A/032.tmx”:
File not found: C:/A/LevelDesign/TiledData/Field/A/032.tmx
Error while reading “C:/A/LevelDesign/TiledData/Field/A/999.tmx”:
File not found: C:/A/LevelDesign/TiledData/Field/A/999.tmx
Error while reading “C:/A/LevelDesign/TiledData/Field/A/032.tmx”:
File not found: C:/A/LevelDesign/TiledData/Field/A/032.tmx
Error while reading “C:/A/LevelDesign/TiledData/Field/A/999.tmx”:
File not found: C:/A/LevelDesign/TiledData/Field/A/999.tmx
Error while writing “C:\A\LevelDesign\TiledData\Field\A”: Cannot open device for writing:

I reckon the current world contains 032.tmx and 999.tmx but the files were deleted while ago. Also, I could not find the map on the world.

In this situation, how can I remove those 2 tmx files in the world? I want to remove them in order to export world image without a problem. Thank you.

I don’t know if there’s a way to delete them with the GUI world tool, but you can edit them out of the world file in a text editor. This is the original way world files were edited.

It would be nice if Tiled provided some way to select and remove missing maps from worlds via the World tool, if it doesn’t already.