I georeferenced a raster file and ended up with black background (exact
The raster file contains a lot of blacks, so setting black to be a transparent color is not a good solution since I would lose the details on the raster file.
I have seen several similar questions from a few years ago. None of the answers is straightforward and works in my case. Hoping there is a better solution in more recent QGIS versions.