This question already has an answer here:
I'm working on creating maps using Cesium. Now my client needs to export the viewport map to an image.
I'm already exporting to PNG/JPEG but now I need to create a GeoTiff.
Is there any way to convert a PNG or JPEG to a GeoTiff? I know the map bounding box.
I'm looking on Geotools but just found tools to convert geotiff to JPEG.
I know I have no code or any big effort to put here but I swear I've found nothing to help until now.
Looking here now...