I found out why only new installations of Ubuntu are affected by this bug.
Kipi can use either graphicsmagick or imagemagick (graphicsmagick is a compatible implementation of imagemagick).
Both packages provide the command convert to recompress images.
It seems that by default Ubuntu 12.04 installs on graphicsmagick, while on older installations imagemagick was installed.
After trying found out that graphicsmagick produces corrupt exif data while imagemagick does not.
So removing graphicsmagick and installing imagemagick is a workaround for this bug.
Packages to remove:
graphicsmagick
graphicsmagick-imagemagick-compat
libgraphicsmagick3
I found out why only new installations of Ubuntu are affected by this bug.
Kipi can use either graphicsmagick or imagemagick (graphicsmagick is a compatible implementation of imagemagick).
Both packages provide the command convert to recompress images.
It seems that by default Ubuntu 12.04 installs on graphicsmagick, while on older installations imagemagick was installed.
After trying found out that graphicsmagick produces corrupt exif data while imagemagick does not.
So removing graphicsmagick and installing imagemagick is a workaround for this bug.
Packages to remove: imagemagick- compat
graphicsmagick
graphicsmagick-
libgraphicsmagick3
Packages to add: extra
imagemagick
libmagickcore4-