Cubitect / cubiomes-viewer

An efficient graphical Minecraft seed finder and map viewer.
GNU General Public License v3.0
1.02k stars 60 forks source link

[Bug/Feature suggestion] Exporting biomes as image does not export heightmap shading/countors (or structures). #201

Open Delvin4519 opened 1 year ago

Delvin4519 commented 1 year ago

Filing this as a separate issue for monitioring/closing as this concerns the "export to image" function.

As the title says, when exporting to image with heightmaps enabled, the heightmap currently does not get exported alongside the biomes.

This feature would be valuable to have since it would allow one, to say, export a 4096x4096 image.png area of biomes alongside the heightmap. This would be a lot easier than having to scroll around a 1200x1000 map, reloading the heightmap, screenshotting each 1200x1000 segment portion, to export the same thing.

There are also some cases where one might want the structure locations exported alongside biomes, however, the image export function only exports biomes only.

It might be better to have the image export function take the existing settings of the map, and fix the zoom to 1:0.5, 1:1, 1:2, 1:4, 1:8, 1:16, etc. when exporting. (Note:, add additional powers of 2 for export options, esp. for 1.18+ terrain maps)

Delvin4519 commented 1 year ago

As of v3.1, heightmap can be saved to png via screenshot function or export function. saving structure locations to png currently must use the screenshot function (limited to screen resolution), and cannot use the export function (could be larger than screen resolution).

The screenshot function currently saves the biome label tooltip, not sure if saving the biome label tooltip in the screenshot is intentional or not, since the mouse cursor itself cannot be screenshotted.

EDIT: v3.1.1: update now screenshots properly, as the tooltip is now hidden when screenshotted to image.png.