3461a3462,3468
> 
>                 my($preview_tmp) = Image::Magick->new;
>                 my($x_tmp) = $preview_tmp->Read("$albumdir$newName"); # read in the picture
>                 $preview_tmp->Set("magick" => "JPEG");
>                 $x = $preview_tmp->Write("$albumdir$newName");
>                 warn "$x" if "$x";
> 
3488a3496
>     $preview->Set("magick" => "JPEG");
