Transform image and save as same filename
Posted: Sun Jun 23, 2013 1:36 pm
Hi,
It's been a few years since i used nconvert so forgive my rustiness,
I'm trying to rotate an image +90 degrees and retain the same file name. That is I don't wish a copy made like image_1.jpg eg
Using 32 and 64 bit versions on 64bit vista
nconvert -rotate 90 image.jpg
I tried
nconvert -rotate 90 image.jpg -o image.jpg [can't open file -o] saves a numbered file
nconvert -rotate 90 image.jpg -overwrite [can't open file -o]
nconvert -rotate 90 image.jpg -o image.jpg -overwrite [can't open file -o] saves a numbered file
and in desperation
nconvert -rotate 90 image.jpg -o image.jpg -D [just laughs at me]
In this link http://newsgroup.xnview.com/viewtopic.php?t=349
we get
"NConvert overwrites existing files by default. Therefore there is no special parameter to force NConvert overwriting files available."
It's an old post though.
Is there a way through this? I don't mind using a placeholder/temporary file but i thought i'd try a simple solution first
thank you
And thanks for a fantastic piece of art
It's been a few years since i used nconvert so forgive my rustiness,
I'm trying to rotate an image +90 degrees and retain the same file name. That is I don't wish a copy made like image_1.jpg eg
Using 32 and 64 bit versions on 64bit vista
nconvert -rotate 90 image.jpg
I tried
nconvert -rotate 90 image.jpg -o image.jpg [can't open file -o] saves a numbered file
nconvert -rotate 90 image.jpg -overwrite [can't open file -o]
nconvert -rotate 90 image.jpg -o image.jpg -overwrite [can't open file -o] saves a numbered file
and in desperation
nconvert -rotate 90 image.jpg -o image.jpg -D [just laughs at me]
In this link http://newsgroup.xnview.com/viewtopic.php?t=349
we get
"NConvert overwrites existing files by default. Therefore there is no special parameter to force NConvert overwriting files available."
It's an old post though.
Is there a way through this? I don't mind using a placeholder/temporary file but i thought i'd try a simple solution first
thank you
And thanks for a fantastic piece of art