Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thumbnail not showing after saving PHZ with UVtools #903

Closed
bordermultimedia opened this issue Jul 19, 2024 · 2 comments
Closed

thumbnail not showing after saving PHZ with UVtools #903

bordermultimedia opened this issue Jul 19, 2024 · 2 comments
Assignees

Comments

@bordermultimedia
Copy link

System

UVtools v4.3.2 X64
Operative system: Microsoft Windows 10.0.22631 X64
Processor: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
Processor cores: 16
Memory RAM: 42.78 / 127.81 GB
Runtime: win10-x64
Framework: .NET 6.0.29
AvaloniaUI: 11.0.10
OpenCV: 4.8.1

Sreens, resolution, working area, usable area:
1: 3840 x 2160 @ 175% (Primary) (On this)
    WA: 3840 x 2076    UA: 2194 x 1186
2: 1680 x 1050 @ 100%
    WA: 1680 x 1002    UA: 1680 x 1002

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe
Loaded file: tanque-Chasis_06h46m_44ml_copy.phz [Version: 2] [Class: PHZFile]

Printer and Slicer

  • Printer: Prozen Sonic Mini
  • Slicer: Lychee

Description of the bug

Lychee produces a PHZ file that has a thumbnail, I can see it on the printer's screen, but whenever I open it with UVtools, and then save it again (even if I did not make any fixes or modifications) it saves a PHZ file that doesn't show any thumbnail on the printer. Even opening it again with UVtools shows a corrupt image. Also, the new file is bigger, but I suppose that has something to do with compression settings.

How to reproduce

open any PHZ file with a visible thumbnail and save as a new file, open the new file to see if the thumbnail is still present. I'm sending you sample files to show this issue.

Files

cube.zip
cube_48m_1ml_copy.zip

@sn4k3
Copy link
Owner

sn4k3 commented Jul 19, 2024

Will check and try to solve in next patch.

sn4k3 added a commit that referenced this issue Jul 30, 2024
- **File formats:**
  - (Add) File format: Klipper zip
  - (Add) Properties:
    - `Pause` and `ChangeResin` to layers
    - `BottomLiftAcceleration`
    - `BottomLiftAcceleration2`
    - `LiftAcceleration`
    - `LiftAcceleration2`
    - `BottomRetractAcceleration`
    - `BottomRetractAcceleration2`
    - `RetractAcceleration`
    - `RetractAcceleration2`
  - (Add) PrusaSlicer Keywords:
    - `FILECLASS_xxx` to define the file class directly instead of a file extension
    - `BottomLiftAcceleration`
    - `BottomLiftAcceleration2`
    - `BottomRetractAcceleration`
    - `BottomRetractAcceleration2`
    - `LiftAcceleration`
    - `LiftAcceleration2`
    - `RetractAcceleration`
    - `RetractAcceleration2`
  - (Add) Property `HaveTiltingVat` to know if the printer have a tilting vat
  - (Add) Compatibility with tilting vat Saturn 4 Ultra which also fixes print time estimate (#906)
  - (Add) Encrypted CTB: Tries to predict tilting vat printers from set parameters
  - (Change) CWS: Append `;<Slice>` as first line in the layer instead when required
  - (Change) VDT: Move FTL previews to top to be used as first in conversion
  - (Improvement) Anycubic: Write the image color table based on the AntiAliasing level (#899)
  - (Improvement) Encrypted CTB: Implement the `ModifiedTimestampMinutes` and `AntiAliasLevel` field
  - (Fix) nanoDLP `slicer.json` deserialize problem on some files
  - (Fix) SL1: The keyword `TransitionLayerCount_xxx` not being set on the file (#902)
  - (Fix) PHZ: Generated invalid thumbnail data (#903)
- **Tools:**
  - (Improvement) Pixel arithmetic: Add extra checks to ignore empty size and layers
  - (Change) Edit print parameters: Allow set lift and retract speeds to 0 (#906)
- **UI:**
  - (Add) Menu - File - Copy parameters to files: Allow to copy parameters from current file to another file(s) (#852)
  - (Improvement) Menu - File - Reset layer properties: Hold SHIFT key to also rebuild layers position with the file layer height (#870)
  - (Improvement) Save as and convert file save dialog: Force the correct file extension if been tampered (#909)
  - (Improvement) Exposure time finder: Disable incompatible panels instead of hide them
  - (Add) Layer preview shortcuts: A/W/S/D to pan the layer image and Q/E to go to previous/next layer (#871)
  - (Fix) Prevent CTRL + SHIFT + Up/Down (Issue navigation shortcut) from change layer
- (Add) PrusaSlicer printer: Elegoo Saturn 4 Ultra
- (Fix) Linux AppImage: Failed to change to directory "~" (No such file of directory) (#891)
- (Upgrade) OpenCV from 4.8.0 to 4.9.0
- (Upgrade) AvaloniaUI from 11.0.10 to 11.1.1 (Fixes #872)
- (Upgrade) .NET from 6.0.29 to 6.0.32
@sn4k3
Copy link
Owner

sn4k3 commented Jul 30, 2024

Fixed

@sn4k3 sn4k3 closed this as completed Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants