- marked as trivial
Add a resolution option to the export dialog
USE CASE: WHAT DO YOU WANT TO DO?
Increase the size of the exported image in PNG/JPG/PPM format.
STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)
- Open any file
- Bring up the export interface
- Select PNG format
CURRENT BEHAVIOR
There's no way to increase the resolution to export a larger image other than by using an image editor after export.
EXPECTED BEHAVIOR
There should be a way to increase the size of the exported image.
DEVELOPERS ONLY SECTION
SUGGESTED CHANGE (Pseudocode optional)
The way to control resolution is by manipulating the number of pixels per tile. The overall dimension sizes have to be evenly divisible by the number of tiles in those dimensions (unless you count the trees). Keep in mind that the tree lines are a thickness of 1, so if a tile is 1 thick, the tree branch will be the same thickness of the tile and all the leaves will be a solid black mess. Tree branches will look centered as long as the tiles are an odd number of pixels thick. The tile dimension minimums are 3x3 so that branches are centered and not as thick as the tiles.
So, what I would suggest in terms of increasing resolution would be either a number spinner with a min & max determined based on the overall resultant size (where wh has to be smaller than Integer.MAX_VALUE). Next to the spinner can be a display of the resulting output dimensions in pixels, e.g. 1000 x 1500. The spinner, whose value (v) should start at 1 and increase by 1, should increment the smaller dimension by 2v.
Note that this could also affect the document (vector) formats because the thickness of the tree line is affected (because it is relative). So this option could be active for both document and image export formats. Or, the tree line thickness could be statically set at 1.
FILES AFFECTED (where the changes will be implemented) - developers only
ExportDialog ExportDialogController ExportHandler
LEVEL OF EFFORT - developers only
medium
COMMENTS
Comments (4)
-
reporter -
reporter - changed component to Import/export
-
reporter - removed milestone
Removing milestone: Import/export data (automated comment)
-
reporter - changed milestone to R - 10
- removed responsible
- Log in to comment