rescan metadata

Hi

I just rescaled all my images using imagemagick, to save space in the wp installation. It works fine, but i found out an issue. The metadata for all images in wordpress is now wrong, which gives wrong width and height in image tags when including images.

Is there any way to rescan the metadata to update the width and height of images in the wp_postmeta table ?