$NetBSD: patch-ac,v 1.1 2000/09/02 17:52:54 wiz Exp $ --- bmptopng.c.orig Mon Dec 6 21:50:57 1999 +++ bmptopng.c @@ -18,7 +18,7 @@ GetImageInfo (&image_info); sprintf(buffer, "%s.bmp",prefix); strcpy (image_info.filename, buffer); - image = ReadBMPImage (&image_info); + image = ReadImage (&image_info); if (image == (Image *) NULL) return(1); sprintf(buffer, "%s.png",prefix); @@ -26,7 +26,7 @@ strcpy(image_info.filename,buffer); SetImageInfo(&image_info,1); strcpy (image->filename, buffer); - WritePNGImage (&image_info, image); + WriteImage (&image_info, image); DestroyImage (image); return(0);