Repository navigation
M4.90: Save for Web (Legacy) - #111
Merged
Merged
Conversation
…PNG-8 and PNG-24 images, slices and HTML File > Export > Save for Web (Legacy) (Ctrl/Cmd+Alt+Shift+S) opens a dialog with Original, Optimized, 2-Up and 4-Up views showing each file's size and download time, and settings for colour reduction, colours, dither, transparency and matte, interlacing, web snap, lossy GIF, JPEG quality, the colour table (lock, map to transparent, web shift, sort), image size and anti-aliasing, Clip to Artboard, sRGB, metadata, slices (all or selected), HTML output and presets. Preview in Browser opens the HTML page. Engine: document.exportForWeb, document.exportForWeb.preview (its byte count is the size of the file Save writes), webExport.settings and webExport.presets.list/save/delete. Saved presets and the remembered settings are stored in Prefs. Render: quantize_locked, and encode::web for web snap, colour table edits, lossy GIF and GIF/JPEG comments. PNG files get an sRGB chunk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Save for Web (Legacy): previews and saves optimised GIF, JPEG, PNG-8 and PNG-24 images, slices and HTML.
M4.90: Save for Web (Legacy)
document.exportForWeboptions:document.exportForWeb.preview: returns the exact file size, the download time and the colour table.webExport.presets.*manage presets; the built-in ones are generated in code.webExport.settingsremembers the last settings.saveForWeb, opened with Ctrl/Cmd+Alt+Shift+S.imagecrate decodes JPEGs that use optimized Huffman tables with the wrong colours. The preview works around it; the decoder bug itself is a follow-up.Checks
mainate2e36f2(M4.76: EPS export #103).docs/mcp.mdanddocs/control-protocol.md.cargo fmtran on every commit.cargo xtask cipasses all 7 steps (fmt, clippy, tests, assets, brands, layers, wasm) on the top of the stack, with 2,769 tests.main, the stack keeps every test (2556 → 2764 by name), every engine command (565 → 586), every UI command and menu entry, and every MCP tool. Changed tests are named above.docs/mcp.mdcode fences are balanced.🤖 Generated with Claude Code