InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: transparency in laster layer, fails the generation process

Open Pouria-Rezaeii opened this issue 9 months ago • 0 comments

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

RTX 2050

GPU VRAM

4gb

Version number

5.7.2

Browser

Google Chrome 131.0.6778.69

Python dependencies

No response

What happened

When a raster layer containing transparency is added to the InvokeAI canvas, the generation process fails with the following error:

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Image

https://github.com/user-attachments/assets/32099050-e212-41e3-a3ce-d7c5041bd1fd

What you expected to happen

InvokeAI should process raster layers with transparency without crashing or generating errors.

How to reproduce the problem

Open InvokeAI. Create a raster layer that contains transparency. Add this raster layer to the canvas. Attempt to generate an image. Observe the error message in the console.

Additional context

InvokeAI Version: 5.72 Operating System: Linux, Ubuntu 24 Python Version: 3.12.3 GPU: RTX 2050 4GB Installation Method: AppImage file

Discord username

No response

Pouria-Rezaeii avatar Mar 07 '25 06:03 Pouria-Rezaeii