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

[Crash] Emgu.CV.Util.CvException: OpenCV: could not find a writer for the specified extension #755

Closed
ZJulienZ opened this issue Sep 11, 2023 · 3 comments
Assignees

Comments

@ZJulienZ
Copy link

System

UVtools v3.15.1 X64
Operative system: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:12:57 PDT 2022; root:xnu-8020.240.7~1/RELEASE_X86_64 X64
Processor: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Processor cores: 16
Memory RAM: 11.94 / 28.31 GB
Runtime: osx.12-x64
Framework: .NET 6.0.18
AvaloniaUI: 0.10.21
OpenCV: 4.7.0

Path:       /Applications/UVtools.app/Contents/MacOS/
Executable: /Applications/UVtools.app/Contents/MacOS/UVtools

Printer and Slicer

  • Printer: Phrozen Sonic Mini 8K
  • Slicer:

Description of the bug

I tried to open and save a png file that wouldn't insert using actionbs->import layers

Emgu.CV.Util.CvException: OpenCV: could not find a writer for the specified extension
   at Emgu.CV.CvInvoke.CvErrorHandler(Int32 status, IntPtr funcName, IntPtr errMsg, IntPtr fileName, Int32 line, IntPtr userData)
Category: Non-UI
File: VAT - 84 x84 mm _ UVTools_Grids Phrozen Aqua 8K.png  [Version: 0] [Class: ImageFile]

Machine date time: 11/09/2023 15:01:56
    UTC date time: 11/09/2023 13:01:56

VAT - 84 x84 mm _ Grids Phrozen Aqua 8K.png.zip

How to reproduce

Steps to reproduce the error:

  1. open a png layer file that won't insert with action->insert layers
  2. check that it is displayed ok
  3. hit "save as" to have it in a compatible. Et voilà !

I get some .tmp files though

Files

VAT - 84 x84 mm _ Grids Phrozen Aqua 8K.png.zip
Phrozen_Mini8K_AQ8K_750umVAT4DeepSU8_00h10m_1ml_copy.ctb.zip

@github-actions
Copy link

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

@sn4k3
Copy link
Owner

sn4k3 commented Sep 15, 2023

Will be fixed on next release.

sn4k3 added a commit that referenced this issue Sep 17, 2023
- **UI:**
  - **Settings:**
    - (Add) Themes: Fluent default, which set light/dark mode depending on system settings
    - (Add) Theme density which only applies to Fluent theme
    - (Change) Themes: Rename "Default" to "Simple"
    - (Remove) Simple theme
  - **Exposure time finder:**
    - (Fix) "Multiple layer height" panel visibility was wrongly check for `ExposureTime` instead of `PositionZ`
    - (Fix) "Multiple exposures" panel was always visible even if not able
    - (Improvement) Disable "Multiple exposure" and "Multiple heights" for the AnyCubic format
  - **Tool windows:**
    - (Fix) Align the description to the left to fix the misalignment when resizing the window
    - (Fix) Make layer selection shortcuts to work
  - (Fix) Some invalid bindings
  - (Fix) Save properties to disk/clipboard was disabled when file has no thumbnails
  - (Fix) File - Reset layer properties was no unlocking the File - Save
  - (Improvement) When sending a command under "File - Terminal", it will now unlock the "File - Save" option and refresh the UI with the new information if changed
  - (Improvement) When moving model by an operation or suggestion it will redetect the issues to update their positions (#752)
- **Layer actions - Import layer(s):**
  - (Add) Button to set the current layer
  - (Improvement) If any file isn't imported it will show an message informing why
  - (Fix) Layer properties were getting rebuilt (#739)
- **File formats:**
  - (Change) Thumbnails logic, it's now a `List` instead of a fixed array, this allow to dynamic add or remove thumbnails without having a fixed number
  - (Fix) The flag for using per layer settings (`IsUsingGlobalParameters`) now take into account if layer is able to use each property in check before compare (#742)
  - (Fix) Accessing `BoundingRectangleMillimeters` was not calculating the `BoundingRectangle` if necessary
  - (Fix) SL1: Files with thumbnails size different from original SL1 would not display under the UI
  - (Fix) Anycubic: Model information is not set after an auto-conversion from SL1
  - (Fix) CTB: Error when open file in partial model with malformed file due invalid checksum
  - (Fix) Image files: Could not find a writer for the specified extension (#755)
- **UVtoolsCmd:**
  - (Add) "compare" command to compare two files and output the differences
  - (Add) "print-formats" command to print the available formats
  - (Improvement) Improve "extract" command to allow extract specific thumbnails or layers in a range or indexes (#754)
- **Project:**
  - (Change) Rename UVtools.WPF to UVtools.UI
  - (Change) Make UVtools.UI nullable enabled
  - (Remove) UVtools.GUI
  - (Improvement) Use CompiledBinding instead of ReflectionBinding
  - (Improvement) Sign the libraries and project with a strong key
  - (Upgrade) .NET from 6.0.18 to 6.0.22
  - (Upgrade) AvaloniaUI from 0.10.21 to 11.0.4
  - (Upgrade) OpenCV from 4.7.0 to 4.8.0
- (Add) PrusaSlicer printer: Elegoo Saturn S
@sn4k3
Copy link
Owner

sn4k3 commented Sep 17, 2023

Fixed

@sn4k3 sn4k3 closed this as completed Sep 17, 2023
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