Repository navigation
Add named RGB export presets with longest-edge sizing - #319
Open
Rex16200513 wants to merge 3 commits into
Open
Rex16200513 wants to merge 3 commits into
Rex16200513 wants to merge 3 commits into
Conversation
Rex16200513
marked this pull request as ready for review
October 28, 2026 05:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Export As can remember JPEG quality, but repeated deliveries still require setting the format and dimensions by hand. Add named presets for RGB PNG, JPEG, TIFF and PDF, so a configuration such as “Web JPEG, longest edge 1600 px” can be reused across documents.
The Export As sheet gains a Presets menu, Save Preset popover and Delete Preset submenu. Presets persist locally and store format, JPEG quality, background color, and either original dimensions or a longest-edge limit. A limit preserves proportions and never enlarges smaller images. Applying a preset updates the existing preview and leaves all controls editable. Names must be unique, nonblank and at most 80 characters.
This first version excludes CMYK profiles, 16-bit PNG, HDR, animation and document-specific channel mappings; Save Preset is disabled for those settings. Applying a screen preset explicitly selects RGB/8-bit settings. Presets do not change the document format.
Allow exports smaller than 1% so a large source can honor a small longest-edge limit. Remove the redundant format-change resize, which would otherwise recalculate a preset's scale from rounded width and distort the requested size on extremely narrow images.
Validation:
Related: #268 (export templates and reusable export settings).