Hi there,
Not sure if this is the right place to be asking the question, I'm having trouble writing the output of a file using G'MIC. Part of a script that automatically reduces the size of image files, works for roughly 50% of the files, others it doesn't with no error as to why.
The command I'm running is:
gmic.exe "c:\Photos\DSCN0001.JPG" -resize2dx 800,5,0 -text_outline "Archive",1,1,13,0.8,0.5 -outputw
The result of this is:
[gmic]-0./ Start G'MIC parser.
[gmic]-0./ Input file 'c:\Photos\DSCN0001.JPG' at position [0] (1 image 3264x2448x1x3).
[gmic]-1./ Resize 2d image [0] to 800 pixels along the x-axis, preserving 2d ratio.
[gmic]-1./ Draw outlined text 'Archive' at position (1,1) on image [0], with font height 13, outline 0.8, opacity 0.5 and color 255,255,255.
[gmic]-1./ Output image [0] as its initial location.
[gmic]-1./ End G'MIC parser.
... yet the source file does not change. If I run the same command without "-outputw", the reduced image appears on the screen with the "Archive" watermark as expected. The folder contains full read/write security permissions, the file is not read only. I can see no reason why the original file could not be overwritten. This same command has worked perfectly for roughly 200,000 files, but for some reason the last 100,000 across multiple different folders, is not working and I can't see why.
Does anyone have any suggestions to the cause? The application is running on Windows Server 2008R2.
Thanks in advance