A Raster Map That Is Not a Black Image: PNG, GeoTIFF and Raster PDF
This is a walk through one common pain that GIS people, designers and anyone preparing maps for reports keep raising on forums. There are no names here, only what goes wrong, why, and how the site makes a raster map. If you have ever opened a freshly exported raster and seen a black rectangle, this article is about you.
What hurts
You need a picture of a map: for a report, for print, or as a base layer in another program. Someone takes vector data and rasterises it directly, the naive way, and gets a plain black image. Sometimes it is black all over, sometimes it is a black background with lines barely visible on top. Only the other route works: build a designed layout and export that instead.
The worst part is that this mode silently delivers garbage. There is no error, the file exists, and its size looks normal. You find out only when you open the picture, or when your client does. Most often the background is to blame. Transparent pixels without a flag saying that the fourth band is transparency are read by many programs as the colour black. The data is all there; the viewer simply paints the empty space as black.
How the site solves it
On the site the raster is built through a designed layout, which is the route that works. The style background of the map is drawn on the layout sheet, and the map frame is given the same background explicitly; otherwise the rendering engine would paint it white. So there is no transparent hole under the map.
In a GeoTIFF the fourth band, when there is one, is flagged as alpha, not as one more colour. A nodata value is written to the file only if you set one. The site does not declare "no data" on your behalf, so a program will not hide real map pixels by mistake.

What we measured
We placed two orders: one in PNG, GeoTIFF and raster PDF at once at zoom 16, and a second one on an area of 27.7 km². In the four resulting files we counted the share of black pixels, meaning brightness below 10, and the mean brightness.
We found no mode that silently delivers garbage. The share of black pixels is 0.000% in all four files. Mean brightness is 223.9 for the PNG, and 230.6 and 204.8 for the two GeoTIFF files, with about 48 thousand distinct colours. The raster PDF is a single page with an embedded JPEG of 3984×4960 pixels, mean brightness 223.7, 0.000% black, about 70 thousand colours. That is a normal light map, not a black rectangle with a couple of lines on it.

The same order can be made as PNG with the PNG button, or as a raster PDF that opens instantly in any viewer, with the raster PDF button.
What we have NOT proven
To be honest about the limits: we checked four files from two orders, not every style and every area. A dark map style will, by design, give a low mean brightness; that is styling, not a defect. An order "without background" will also give transparency, on purpose, and a program without alpha support will then show it in its own way. We did not separately measure how each viewer and each GIS program reads our alpha band. If your map still opens black, write to us with the program name, its version and the format, and we will look into it.
How to check your own file in a minute
Open the raster in any viewer and look at the corners and edges: that is where unflagged transparency usually hides. In a GIS program, look at the layer properties: the fourth band should be interpreted as "alpha", and nodata should be set only if you set it yourself.
Questions people ask
Which raster format should I choose? PNG for a picture in a document, GeoTIFF when the image has to sit in the right place in a GIS program, and raster PDF when it simply has to open anywhere, quickly.
Can I get a transparent background on purpose? Yes, order the map without a background. Then use a program that understands alpha.
More about the formats is in GeoTIFF format in depth and PNG format in depth.