Closed
Description
ImageMagick version
7.1.2-2
Operating system
Windows
Operating system, version and so on
11
Description
A permission denied error occurs when trying to convert mng or jng images.
Steps to Reproduce
.\magick.exe "D:\Tmp\image.jng" "D:\Tmp\image.png"
.\magick.exe "D:\Tmp\image.mng" "D:\Tmp\image.png"
Error:
magick.exe: unable to open image 'C:/Users/USER~1/AppData/Local/Temp/magick-SvG2YZ3ZEy4WEiicPVt3L0RCjZJeo7nR': Permission denied @ error/blob.c/OpenBlob/3596.
Images
Metadata
Metadata
Assignees
Labels
No labels
Activity
snibgo commentedon Aug 28, 2025
I confirm the problem with IM v7.1.2-2.
This worked fine in versions 7.1.1-20 and 7.1.1.38.
Close the blob so we can re-open it again (#8327).
dlemstra commentedon Aug 28, 2025
Thanks for reporting this. We recently made some changes to use more secure methods on Windows. It seems that it is no longer allowed to open the same file twice at the same time. I just pushed a patch that closes the file before opening it again. This issue will be resolved in the next release.
Close the blob so we can re-open it again (ImageMagick#8327).
andreas-eriksson commentedon Sep 1, 2025
I have verified that this works in 7.1.2-3. Thanks for the quick resolution.
Bump Magick.NET-Q16-AnyCPU from 14.8.1 to 14.8.2 (#2694)
Bump Magick.NET-Q8-AnyCPU from 14.8.1 to 14.8.2 (#169)
Bump Magick.NET-Q8-AnyCPU from 14.8.1 to 14.8.2 (#598)