convert the same image
Posted: 2007-02-07T10:24:02-07:00
Hi,
I'm just curious on how convert will work if I convert an image to a different location with the same extension. Will the algorithm knows that no conversion is needed, and thus just copy the file to the other location?
For example,
"convert af1.pgm ./temp/af1.pgm"
A simple test tells me that it will create the af1.pgm in temp directory, but I'm just wondering if the algorithm just do a file copy or actually "converts" it (which takes more time, more calculations, and same result)?
Thanks,
onyee
I'm just curious on how convert will work if I convert an image to a different location with the same extension. Will the algorithm knows that no conversion is needed, and thus just copy the file to the other location?
For example,
"convert af1.pgm ./temp/af1.pgm"
A simple test tells me that it will create the af1.pgm in temp directory, but I'm just wondering if the algorithm just do a file copy or actually "converts" it (which takes more time, more calculations, and same result)?
Thanks,
onyee