0.14.0
Features
New web native PNG encoder (#125)
In v0.13 @lunapaint/png-codec
was open sourced as a new TS-based PNG decoder, this release saw the development of the encoding part of the library. Here are the main things that means for Luna Paint:
- Smaller saved .png files: The encoder selects a color depth based on the range of colors used, reducing color size significantly in some cases.
- Hue information retained when saving transparent pixels: The previous canvas-based method of saving files resulted in the loss of hue precision, depending on the image this could be frustrating when doing further edits.
- Control over metadata: Luna Paint doesn't do much with metadata currently but it opens the door for future possibilities of advanced control over the file's metadata.
- Improved .ico files: Icon files 128x128 and larger are typically encoded as png, this will also benefit from the new PNG encoding.
UX / Polish
- Readonly editors now open without any windows showing by default, except .ico files which will show only the images window (#132).
- The layers context menu now uses a separator to split up the items (#128).
Documentation
- Added a section to the Customization wiki on working with Image Preview as the default image editor (#136).
Engineering
- Playwright tests now fail when any page error occurs, this helps catch edge case errors that were unnoticed before.
Bug fixes
- Fix handling image change events outside of workspace (#105).
- Improve error when .ico file signature isn't correct (#137).
- Hide commands from the command palette that aren't useful when the editor is focused (#140).
- Fix an exception that could occur when loading a new image into the webview while a tool change was in progress.
- Prevent layer/minimap previews from being generated when the target size matches the image dimensions.
- Line tool: The angle in the status bar is now restored after hot exit.