mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
Before this change, Export As always resampled the exported copy with Bicubic, and the preview used Bilinear. Pixel art and screenshots could not be enlarged with hard edges. Photoshop's Export As has a Resample menu next to Width/Height/Scale for this. - engine export_preset_cmds: RESAMPLE lists Photoshop's six choices (Bicubic Automatic, the default, then Bicubic, Bicubic Smoother, Bicubic Sharper, Bilinear and Nearest Neighbor) and export_resample() checks a value. An unknown value is now an error. Before, Image Size quietly treated it as Bicubic. - Export presets save and restore resample. Older presets load with the default. - layer.exportAs takes a `resample` param, checked even at 100 %. - Export As dialog: a Resample dropdown under Image Size. It is remembered with the other settings, and a bad saved value falls back to the default. export_document passes the choice to image.imageSize for the exported copy only. - Preview: the proxy keeps its fast Bilinear path, except for Nearest Neighbor, which is just as cheap and is what the user wants to see. The preview texture also uses NEAREST magnification then, so small exports look blocky instead of blurred. - Translations for the three new labels in all 20 catalogues. - Scorecard FILE-215-18 is now done. Also fixes a stale doc comment on VectorMask::feather, because the compositor does feather vector masks. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>