Reading and Writing to the same file
Posted: 2017-11-22T08:07:37-07:00
I am in the process of upgrading from version 6 to 7 on windows (ImageMagick-7.0.7-11-Q16-x64-dll).
The code we have issues commands which were working but having made one small change to support the new version don't work and report "Permission denied @ error/blob.c/OpenBlob/3315."
>magick.exe convert "218573_75.jpg" -rotate "-90" "218573_75.jpg" fails in v7 and worked in v6
It seems that the issue is that we are reading and writing to the same file since if I change the output filename it works.
>magick.exe convert "218573_75.jpg" -rotate "-90" "218573_75_new.jpg" works in v7
Is there a parameter I have to use now to allow this or is it no longer possible?
Kevin
The code we have issues commands which were working but having made one small change to support the new version don't work and report "Permission denied @ error/blob.c/OpenBlob/3315."
>magick.exe convert "218573_75.jpg" -rotate "-90" "218573_75.jpg" fails in v7 and worked in v6
It seems that the issue is that we are reading and writing to the same file since if I change the output filename it works.
>magick.exe convert "218573_75.jpg" -rotate "-90" "218573_75_new.jpg" works in v7
Is there a parameter I have to use now to allow this or is it no longer possible?
Kevin