Thanks, Bernhard, for your answer, but libexif under Windows requires Cygwin which I don't use. GraphicsMagick is already supposed to do this work, so there must be a way of using it. There is however a problem of missing documentation.