--decrypt-ctb <filepath> will decrypt all encrypted fields in the CTB. The file is replaced with the decrypted contents.
--encrypt-ctb <filepath> will encrypt header and footers of the CTB. No layer data is encrypted (not required). The file is replaced with the encrypted contents.
- **Layer:**
- (Add) `Number` property to get the layer number, 1 started
- (Fix) `HaveGlobalParameters` property was not comparing `PositionZ`
- (Fix) `HaveGlobalParameters` property was not comparing `WaitTimeAfterCure` for bottom layers
- (Fix) CTB: Discovered more unknown fields and set them accordingly
- (Add) Setting - Allow to resize the tool windows: Check this option if you have problems with content being cut on some windows, down-size the height by a bit and then expand to fix the content.
- (Fix) File formats: When converting from a TSMC-able file to an TSMC-unable file, the LiftHeight will be set to the total lift (1+2) as fail-safe guard
- (Fix) Pixel Arithmetic: Keep pattern visible by default to prevent content from being cut when made visible
- **(Fix) CTBv4:**
- LiftHeight and LiftHeight2 properties when using TSMC, LiftHeight on CTB is the total of lifts 1+2
- Soft-save is corrupting the file
Helpers.cs: Added new SHA256 and AES helper methods
FileFormat.cs: Add as available file format, does not appear in the UI
CTBEncryptedFile.cs: New FileFormat implementation for these encrypted CTB files. Keys are left as an excercise
**(Fix) CTBv4:**
- LiftHeight and LiftHeight2 properties when using TSMC, LiftHeight on CTB is the total of lifts 1+2
- Soft-save is corrupting the file
- **File formats:**
- Add and remove some image types that can be open
- (Add) `CanProcess` method to know if a file can be read under a format and to allow diferent formats with same extension
- (Fix) `LiftHeightTotal` and `RetractHeight` was rounding to no decimals and returning wrong values
- (Improvement) Round all float setters on `Layer` class
- (Improvement) Decode/encode RAM usage and performance by processing in batch groups
- **Pixel Dimming:** (#262)
- (Add) Option "Lightening pixels" to add brightness/lightening instead of dimming/subtract pixels
- (Fix) "Dim walls only" would reset body brightness by increase pixel brightness two times it value
- **Pixel Arithmetic:**
- (Change) Transpose "Pixel Dimming" to "Pixel Arithmetic"
- (Improvement) New options and manipulations
- **(Fix) Exposure time finder:**
- Generate top staircase based on selected measure (px or mm)
- Zebra bars when used in mm measures, it was using X density instead Y to calculate the thickness
- Move 'Unit of measure' to 'Object configuration'
- Custom text with wrong Y position when using out of portion resolutions/LCDs
- **CTBv4:**
- (Fix) More Unknown fields discovered and implemented
- (Fix) Reserved table is 384 bytes instead of 420
- (Fix) When full encoding it was forcing to change to version 3. This also affected convertions. (#263)
- (Fix) `BottomRetractHeight2` was being set to `BottomRetractSpeed2`
- (Fix) `RetractHeight2` was being set to `RetracSpeed2`
- (Fix) The PrintParametersV4 table address
- (Fix) Generates invalid files to open with Chitubox and printers (#263)
- (Fix) Better progress report
- **(Add) PrusaSlicer printer notes variables:**
- BottomLiftHeight2
- BottomLiftSpeed2
- LiftHeight2
- LiftSpeed2
- BottomRetractSpeed
- BottomRetractSpeed2
- BottomRetractHeight2
- BottomRetractSpeed2
- RetractHeight2
- RetractSpeed2
- **UI:**
- (Add) File - Open current file folder (Ctrl+Shift+L): Locate and open the folder that contain the current loaded file
- (Improvement) Hide some virtual extensions from file open dialog filters
- (Improvement) UI: Refresh active thumbnail when changed
- (Change) Icon for File - Open and Open in a new file
- (Change) Rename File - Extract to: Extract file contents
- (Upgrade) AvaloniaUI from 0.10.6 to 0.10.7
- (Fix) PW0, PWM, PWMX, PWMO, PWMS: Unable to decode some files with AntiAliasing (#143)
- **(Fix) CTBv4:**
- When full encoding it was forcing to change to version 3. This also affected convertions. (#263)
- `BottomRetractHeight2` was being set to `BottomRetractSpeed2`
- `RetractHeight2` was being set to `RetracSpeed2`
- **Command line arguments:**
- (Add) Convert files: UVtools.exe -c \<inputfile\> \<outputfile1/ext1\> [outputfile2/ext2]
- (Add) Extract files: UVtools.exe -e \<inputfile\> [output_folder]
- https://github.com/sn4k3/UVtools#command-line-arguments
- **File formats:**
- (Add) Implement TSMC (Two Stage Motor Control) for the supported formats
- (Add) Implement 'Bottom retract speed' for the supported formats
- (Add) LGS: Support for lgs120 and lg4k (#218)
- (Add) CTB: Special/virtual file extensions .v2.ctb, .v3.ctb, .v4.ctb to force a convertion to the set version (2 to 4). The .ctb is Version 3 by default when creating/converting files
- (Improvement) Better performance for file formats that decode images in sequential pixels groups
- **GCode:**
- (Improvement) Better parsing of the movements / lifts
- (Improvement) Better handling of lifts performed after cure the layer
- (Improvement) More fail-safe checks and sanitize of gcode while parsing
- (Improvement) CTBv3: Enable per layer settings if disabled when fast save without reencode
- (Upgrade) .NET from 5.0.8 to 5.0.9
- (Fix) PrusaSlicer printer: Longer Orange 4k with correct resolution and display size
- (Fix) Odd error when changing properties too fast in multi-thread
- **Windows MSI:**
- (Fix) Use the folder programs x64 instead of x86 for new installation path (#254)
- (Improvement) Mark program and all files as x64
- (Improvement) Add UVtools logo to side panel and top banner
- (Improvement) Add open-source logo to side panel
- (Improvement) License text aligment and bold title
- (Add) File format: OSLA / ODLP / OMSLA - Universal binary file format
- (Add) Calibration - Lift height: Generates test models with various strategies and increments to measure the optimal lift height or peel forces for layers given the printed area
- (Add) Layer Actions - Export layers to images (PNG, JPG/JPEG, JP2, TIF/TIFF, BMP, PBM, PGM, SR/RAS and SVG)
- (Add) About box: License with link
- (Add) Include a copy of the LICENSE on the packages
- (Improvement) File formats: Implement `Wait time before cure` properties on file formats with light-off delay, when used it will calculate the right light-off delay with that extra time and set to `LightOffDelay` property
- (Improvement) Change all date times to Utc instead of local
- (Fix) Tool - Flip: 'Both' were not working correctly
- (Fix) Linux: File 'UVtools.sh' with incorrect line break type, changed to \n (#258)
- **(Add) PrusaSlicer printers:**
- Creality HALOT-MAX CL-133
- Nova3D Elfin2
- Nova3D Elfin2 Mono SE
- Nova3D Elfin3 Mini
- Nova3D Bene4
- Nova3D Bene5
- Nova3D Whale
- Nova3D Whale2
- **About box:**
- (Add) Runtime information
- (Fix) Limit panels width and height to not overgrow
- **(Fix) macOS:**
- macOS version auto-upgrade (Will only work on future releases and if running v2.16.0 or greater)
- Demo file not loading
- Auto disable windows scaling factor when on Monjave or greater on new instalations
- (Add) Tool: Raise platform on print finish
- (Add) CXDLP: Support for Halot MAX CL-133
- (Improvement) Tools: Better handling/validation of tools that are unable to run with abstraction
- (Improvement) CWS: Simplify filenames inside the archive
- (Upgrade) EmguCV from 4.5.2 to 4.5.3
- (Change) Allow to set layer `LightPWM` to 0
- (Fix) Arrange dropdown arrow from layer image save icon to be at center