N
N
NINFERIO2020-12-17 16:59:10
C++ / C#
NINFERIO, 2020-12-17 16:59:10

The process cannot access the .png file. How to solve the problem?

In short, the program repaints the pixels in the image and creates a new one in another folder. When I clear a folder with an old photo, I get this error. How to close the photo editing process?
5fdb641f9c627293795920.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
freeExec, 2020-12-17
@freeExec

Close processes through task manager.

B
BasiC2k, 2020-12-17
@BasiC2k

At you process does not close correctly processed file. Because of this, the directory is not deleted.

N
NINFERIO, 2020-12-23
@NINFERIO

new Bitmap(img);
or without brackets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question