This is an excerpt from Manning's book PostGIS in Action, Third Edition. Login to get full access to this book.
For distribution and interoperability, you’ll want to be able to convert the PostGIS rasters to other raster formats. PostGIS offers several output functions to accomplish this conversion.