I turned on 'render single layer' in the view layer proprieties and it worked:


as Jachym commented here is an example: here with part glare: (as you wanted, solution via mix node and mask image) without glare: (i just muted the glare node) with full glare: (glare connected to viewer instead mix node to viewer)


you can just drag and drop the image in the compositor and then use your nodes setup and render it with F12:

Only top voted, non community-wiki answers of a minimum length are eligible